Open no-1imit opened 2 years ago
@no-1imit Did you manage to solve this problem? Thx
to get updates from channels use u := tgbotapi.NewUpdate(0) u.AllowedUpdates = []string{"channel_post"}
to access the messages in your for loop use update.ChannelPost
Hi, i use
updates := bot.GetUpdatesChan(updateConfig)
and loopupdate := range updates
and i get only direct messages, how can i get messages users send in groups or channels?