Fix: answer to callback (to stop buttons blinking)

This commit is contained in:
akulij 2024-08-13 04:16:43 +03:00
parent 8072e8d218
commit bfe942af28

View File

@ -317,6 +317,8 @@ func ProcessUpdate(bc BotController, update tgbotapi.Update) {
bc.bot.Send(msg)
}
}
canswer := tgbotapi.NewCallback(update.CallbackQuery.ID, "")
bc.bot.Send(canswer)
} else if update.ChannelPost != nil { // TODO
post := update.ChannelPost
if post.Text == "setchannelid" {