Fix: answer to callback (to stop buttons blinking)
This commit is contained in:
parent
a2348a714c
commit
0b378236af
@ -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" {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user