fix: polling
This commit is contained in:
10
cmd/main.go
10
cmd/main.go
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user