telegram-bot-api icon indicating copy to clipboard operation
telegram-bot-api copied to clipboard

Show Alert

Open Eghbalii opened this issue 5 months ago • 0 comments

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?

Eghbalii avatar Jan 28 '24 08:01 Eghbalii