aboutsummaryrefslogtreecommitdiff
path: root/api/telegram
diff options
context:
space:
mode:
Diffstat (limited to 'api/telegram')
-rw-r--r--api/telegram/bot/bot.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/telegram/bot/bot.go b/api/telegram/bot/bot.go
index 7359913d..48c53a4c 100644
--- a/api/telegram/bot/bot.go
+++ b/api/telegram/bot/bot.go
@@ -117,7 +117,7 @@ func New(opts Options) (bot *Bot, err error) {
serverURL := defURL + opts.Token + "/"
bot = &Bot{
opts: opts,
- client: http.NewClient(serverURL),
+ client: http.NewClient(serverURL, nil),
}
fmt.Printf("Bot options: %+v\n", opts)