Compare commits
3 Commits
feat/kick
...
7bd7e940ba
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7bd7e940ba | ||
|
|
c278b3f516 | ||
|
|
730aea3e3b |
@@ -25,7 +25,8 @@ func Run(sendFunc func(string)) {
|
|||||||
client := &http.Client{Transport: &http.Transport{Proxy: http.ProxyURL(proxyUrl)}}
|
client := &http.Client{Transport: &http.Transport{Proxy: http.ProxyURL(proxyUrl)}}
|
||||||
conf.Bot, err = tgbotapi.NewBotAPIWithClient(
|
conf.Bot, err = tgbotapi.NewBotAPIWithClient(
|
||||||
conf.GetBotSettings().BotToken,
|
conf.GetBotSettings().BotToken,
|
||||||
tgbotapi.APIEndpoint,
|
// tgbotapi.APIEndpoint,
|
||||||
|
conf.GetBotSettings().TGBotApi,
|
||||||
client)
|
client)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user