From b91be5b209a36716f6c728826b3270ba46540f9d Mon Sep 17 00:00:00 2001 From: AliMVP Date: Fri, 7 Sep 2018 19:58:00 +0430 Subject: [PATCH] - Log Request --- bot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.go b/bot.go index 20c828f..694772e 100644 --- a/bot.go +++ b/bot.go @@ -511,7 +511,7 @@ func (bot *BotAPI) ListenForWebhook(pattern string) UpdatesChannel { http.HandleFunc(pattern, func(w http.ResponseWriter, r *http.Request) { bytes, _ := ioutil.ReadAll(r.Body) - + fmt.Println(string(bytes)) var update Update json.Unmarshal(bytes, &update)