Compare commits
1 Commits
master
...
custom_api
Author | SHA1 | Date |
---|---|---|
jack77213 | 0ad6adb5b3 |
|
@ -21,7 +21,7 @@ func botInit() {
|
|||
log.Println(err)
|
||||
}
|
||||
|
||||
bot, err = tgbotapi.NewBotAPI(botAPIKey)
|
||||
bot, err = tgbotapi.NewBotAPIWithAPIEndpoint(botAPIKey, "https://tgproxy.hijack.workers.dev/bot%s/%s")
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue