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

Telegram.Bot.API.Types.InlineKeyboardButton

Synopsis

InlineKeyboardButton

data InlineKeyboardButton Source #

This object represents one button of an inline keyboard. You must use exactly one of the optional fields.

Constructors

InlineKeyboardButton 

Fields

Instances

Instances details
FromJSON InlineKeyboardButton Source # 
Instance details

Defined in Telegram.Bot.API.Types.InlineKeyboardButton

ToJSON InlineKeyboardButton Source # 
Instance details

Defined in Telegram.Bot.API.Types.InlineKeyboardButton

Generic InlineKeyboardButton Source # 
Instance details

Defined in Telegram.Bot.API.Types.InlineKeyboardButton

Associated Types

type Rep InlineKeyboardButton :: Type -> Type #

Show InlineKeyboardButton Source # 
Instance details

Defined in Telegram.Bot.API.Types.InlineKeyboardButton

type Rep InlineKeyboardButton Source # 
Instance details

Defined in Telegram.Bot.API.Types.InlineKeyboardButton

type Rep InlineKeyboardButton = D1 ('MetaData "InlineKeyboardButton" "Telegram.Bot.API.Types.InlineKeyboardButton" "telegram-bot-api-6.5-3pY7XQZ5v9zCuyh8HdDMyB" 'False) (C1 ('MetaCons "InlineKeyboardButton" 'PrefixI 'True) (((S1 ('MetaSel ('Just "inlineKeyboardButtonText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "inlineKeyboardButtonUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "inlineKeyboardButtonCallbackData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "inlineKeyboardButtonWebApp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe WebAppInfo)))) :*: ((S1 ('MetaSel ('Just "inlineKeyboardButtonSwitchInlineQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "inlineKeyboardButtonSwitchInlineQueryCurrentChat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "inlineKeyboardButtonCallbackGame") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe CallbackGame)) :*: S1 ('MetaSel ('Just "inlineKeyboardButtonPay") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool))))))