haskell-tdlib-2.1.31.0: Binding to the Telegram Database Library
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.BotCallbackQueryMode

Synopsis

Documentation

data BotCallbackQueryMode Source #

Describes how callback queries are received by a bot

Constructors

BotCallbackQueryModeDefault

Callback queries are always received in updateNewCallbackQuery; the message with the button can be inaccessible to the bot

BotCallbackQueryModeAuto

Callback queries are received in updateNewInlineCallbackQuery instead of updateNewCallbackQuery if the message with the button is inaccessible to the bot. Rarely, the message can still be inaccessible to the bot in updateNewCallbackQuery

BotCallbackQueryModeInline

Callback queries are always received in updateNewInlineCallbackQuery instead of updateNewCallbackQuery