Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data ReplyMarkup
- = ReplyMarkupRemoveKeyboard {
- is_personal :: Maybe Bool
- | ReplyMarkupForceReply { }
- | ReplyMarkupShowKeyboard { }
- | ReplyMarkupInlineKeyboard {
- _rows :: Maybe [[InlineKeyboardButton]]
- = ReplyMarkupRemoveKeyboard {
Documentation
data ReplyMarkup Source #
Contains a description of a custom keyboard and actions that can be done with it to quickly reply to bots
ReplyMarkupRemoveKeyboard | Instructs application to remove the keyboard once this message has been received. This kind of keyboard can't be received in an incoming message; instead, updateChatReplyMarkup with message_id == 0 will be sent |
| |
ReplyMarkupForceReply | Instructs application to force a reply to this message |
| |
ReplyMarkupShowKeyboard | Contains a custom keyboard layout to quickly reply to bots |
| |
ReplyMarkupInlineKeyboard | Contains an inline keyboard layout |
|
Instances
FromJSON ReplyMarkup Source # | |
Defined in TD.Data.ReplyMarkup parseJSON :: Value -> Parser ReplyMarkup # parseJSONList :: Value -> Parser [ReplyMarkup] # | |
ToJSON ReplyMarkup Source # | |
Defined in TD.Data.ReplyMarkup toJSON :: ReplyMarkup -> Value # toEncoding :: ReplyMarkup -> Encoding # toJSONList :: [ReplyMarkup] -> Value # toEncodingList :: [ReplyMarkup] -> Encoding # | |
Show ReplyMarkup Source # | |
Defined in TD.Data.ReplyMarkup showsPrec :: Int -> ReplyMarkup -> ShowS # show :: ReplyMarkup -> String # showList :: [ReplyMarkup] -> ShowS # | |
Eq ReplyMarkup Source # | |
Defined in TD.Data.ReplyMarkup (==) :: ReplyMarkup -> ReplyMarkup -> Bool # (/=) :: ReplyMarkup -> ReplyMarkup -> Bool # | |
ShortShow ReplyMarkup Source # | |
Defined in TD.Data.ReplyMarkup shortShow :: ReplyMarkup -> String Source # |