fix: polling

This commit is contained in:
Artem Tsyrulnikov
2026-02-08 20:22:47 +03:00
parent ce151f39aa
commit 913c945a32
3 changed files with 83 additions and 11 deletions

View File

@@ -117,11 +117,11 @@ func main() {
dsp := echotron.NewDispatcher(botToken, newBot)
updateOpts := echotron.UpdateOptions{
AllowedUpdates: []echotron.UpdateType{
echotron.MessageUpdate,
echotron.CallbackQueryUpdate,
echotron.PollAnswerUpdate,
},
// AllowedUpdates: []echotron.UpdateType{
// echotron.MessageUpdate,
// echotron.CallbackQueryUpdate,
// echotron.PollAnswerUpdate,
// },
}
errChan := make(chan error, 1)