Show Alert
Eghbalii opened this issue · comments
Eghbalii commented
I try to show an alert in my bot. when sending the request didn't receive any error, but also nothing happened in the bot.
`answerCallbackQuery := tgbotapi.CallbackConfig{CallbackQueryID: upd.CallbackQuery.ID, Text: "Error in cancelling order, please try again later", ShowAlert: true}
if err := b.ApiRequest(answerCallbackQuery); err != nil {
log.Println("Error answering Cancel callback query:", err)
}`
any idea?