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

Telegram.Bot.API.Types.SomeReplyMarkup

Synopsis

Documentation

data SomeReplyMarkup Source #

Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove reply keyboard or to force a reply from the user.

Instances

Instances details
Generic SomeReplyMarkup Source # 
Instance details

Defined in Telegram.Bot.API.Types.SomeReplyMarkup

Associated Types

type Rep SomeReplyMarkup :: Type -> Type #

FromJSON SomeReplyMarkup Source # 
Instance details

Defined in Telegram.Bot.API.Types.SomeReplyMarkup

Methods

parseJSON :: Value -> Parser SomeReplyMarkup

parseJSONList :: Value -> Parser [SomeReplyMarkup]

ToJSON SomeReplyMarkup Source # 
Instance details

Defined in Telegram.Bot.API.Types.SomeReplyMarkup

Methods

toJSON :: SomeReplyMarkup -> Value

toEncoding :: SomeReplyMarkup -> Encoding

toJSONList :: [SomeReplyMarkup] -> Value

toEncodingList :: [SomeReplyMarkup] -> Encoding

type Rep SomeReplyMarkup Source # 
Instance details

Defined in Telegram.Bot.API.Types.SomeReplyMarkup

type Rep SomeReplyMarkup = D1 ('MetaData "SomeReplyMarkup" "Telegram.Bot.API.Types.SomeReplyMarkup" "telegram-bot-api-6.5-inplace" 'False) ((C1 ('MetaCons "SomeInlineKeyboardMarkup" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InlineKeyboardMarkup)) :+: C1 ('MetaCons "SomeReplyKeyboardMarkup" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ReplyKeyboardMarkup))) :+: (C1 ('MetaCons "SomeReplyKeyboardRemove" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ReplyKeyboardRemove)) :+: C1 ('MetaCons "SomeForceReply" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ForceReply))))