diff --git a/services/tgbot/bot.go b/services/tgbot/bot.go index e861b1a..28f3b81 100644 --- a/services/tgbot/bot.go +++ b/services/tgbot/bot.go @@ -25,8 +25,8 @@ func Run(sendFunc func(string)) { client := &http.Client{Transport: &http.Transport{Proxy: http.ProxyURL(proxyUrl)}} conf.Bot, err = tgbotapi.NewBotAPIWithClient( conf.GetBotSettings().BotToken, - // tgbotapi.APIEndpoint, - conf.GetBotSettings().TGBotApi, + tgbotapi.APIEndpoint, + // conf.GetBotSettings().TGBotApi, client) if err != nil {