Fix: answer to callback (to stop buttons blinking)
This commit is contained in:
parent
0e0cca3984
commit
77c931c7bc
@ -317,6 +317,8 @@ func ProcessUpdate(bc BotController, update tgbotapi.Update) {
|
|||||||
bc.bot.Send(msg)
|
bc.bot.Send(msg)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
canswer := tgbotapi.NewCallback(update.CallbackQuery.ID, "")
|
||||||
|
bc.bot.Send(canswer)
|
||||||
} else if update.ChannelPost != nil { // TODO
|
} else if update.ChannelPost != nil { // TODO
|
||||||
post := update.ChannelPost
|
post := update.ChannelPost
|
||||||
if post.Text == "setchannelid" {
|
if post.Text == "setchannelid" {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user