fix: api endpoint
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user