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.KeyboardButton

Synopsis

KeyboardButton

data KeyboardButton Source #

This object represents one button of the reply keyboard. For simple text buttons String can be used instead of this object to specify text of the button. Optional fields are mutually exclusive.

Constructors

KeyboardButton 

Fields

Instances

Instances details
FromJSON KeyboardButton Source # 
Instance details

Defined in Telegram.Bot.API.Types.KeyboardButton

ToJSON KeyboardButton Source # 
Instance details

Defined in Telegram.Bot.API.Types.KeyboardButton

IsString KeyboardButton Source # 
Instance details

Defined in Telegram.Bot.API.Types.KeyboardButton

Generic KeyboardButton Source # 
Instance details

Defined in Telegram.Bot.API.Types.KeyboardButton

Associated Types

type Rep KeyboardButton :: Type -> Type #

Show KeyboardButton Source # 
Instance details

Defined in Telegram.Bot.API.Types.KeyboardButton

type Rep KeyboardButton Source # 
Instance details

Defined in Telegram.Bot.API.Types.KeyboardButton

type Rep KeyboardButton = D1 ('MetaData "KeyboardButton" "Telegram.Bot.API.Types.KeyboardButton" "telegram-bot-api-6.5-3pY7XQZ5v9zCuyh8HdDMyB" 'False) (C1 ('MetaCons "KeyboardButton" 'PrefixI 'True) ((S1 ('MetaSel ('Just "keyboardButtonText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "keyboardButtonRequestUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe KeyboardButtonRequestUser)) :*: S1 ('MetaSel ('Just "keyboardButtonRequestChat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe KeyboardButtonRequestChat)))) :*: ((S1 ('MetaSel ('Just "keyboardButtonRequestContact") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "keyboardButtonRequestLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "keyboardButtonRequestPoll") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe PollType)) :*: S1 ('MetaSel ('Just "keyboardButtonWebApp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe WebAppInfo))))))