Open devghb opened 2 years ago
u := tgbotapi.UpdateConfig{ Offset: 0, Timeout: 100, } updates, _ := bot.GetUpdatesChan(u)
for update := range updates { go lucky.processUpdate(&update) }
If you want to get help, you should at least send a COMPLETE example that demonstrates the problem.
"Complete" means that the example must compile and can be run to try it.
u := tgbotapi.UpdateConfig{ Offset: 0, Timeout: 100, } updates, _ := bot.GetUpdatesChan(u)