telegram-bot-api-7.0: Easy to use library for building Telegram bots. Exports Telegram Bot API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Telegram.Bot.API.Types.CallbackQuery

Synopsis

CallbackQuery

data CallbackQuery Source #

This object represents an incoming callback query from a callback button in an inline keyboard. If the button that originated the query was attached to a message sent by the bot, the field message will be present. If the button was attached to a message sent via the bot (in inline mode), the field inline_message_id will be present. Exactly one of the fields data or game_short_name will be present.

Constructors

CallbackQuery 

Fields

Instances

Instances details
FromJSON CallbackQuery Source # 
Instance details

Defined in Telegram.Bot.API.Types.CallbackQuery

ToJSON CallbackQuery Source # 
Instance details

Defined in Telegram.Bot.API.Types.CallbackQuery

Generic CallbackQuery Source # 
Instance details

Defined in Telegram.Bot.API.Types.CallbackQuery

Associated Types

type Rep CallbackQuery :: Type -> Type #

Show CallbackQuery Source # 
Instance details

Defined in Telegram.Bot.API.Types.CallbackQuery

type Rep CallbackQuery Source # 
Instance details

Defined in Telegram.Bot.API.Types.CallbackQuery

type Rep CallbackQuery = D1 ('MetaData "CallbackQuery" "Telegram.Bot.API.Types.CallbackQuery" "telegram-bot-api-7.0-2XShkJeCLX71W7OKNKemWZ" 'False) (C1 ('MetaCons "CallbackQuery" 'PrefixI 'True) ((S1 ('MetaSel ('Just "callbackQueryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CallbackQueryId) :*: (S1 ('MetaSel ('Just "callbackQueryFrom") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User) :*: S1 ('MetaSel ('Just "callbackQueryMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Message)))) :*: ((S1 ('MetaSel ('Just "callbackQueryInlineMessageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe MessageId)) :*: S1 ('MetaSel ('Just "callbackQueryChatInstance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "callbackQueryData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "callbackQueryGameShortName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))))