Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
Documentation
data CallbackQueryPayload Source #
Represents a payload of a callback query
CallbackQueryPayloadData | The payload for a general callback button |
| |
CallbackQueryPayloadDataWithPassword | The payload for a callback button requiring password |
CallbackQueryPayloadGame | The payload for a game callback button |
|
Instances
FromJSON CallbackQueryPayload Source # | |
Defined in TD.Data.CallbackQueryPayload parseJSON :: Value -> Parser CallbackQueryPayload # parseJSONList :: Value -> Parser [CallbackQueryPayload] # | |
ToJSON CallbackQueryPayload Source # | |
Defined in TD.Data.CallbackQueryPayload toJSON :: CallbackQueryPayload -> Value # toEncoding :: CallbackQueryPayload -> Encoding # toJSONList :: [CallbackQueryPayload] -> Value # toEncodingList :: [CallbackQueryPayload] -> Encoding # | |
Show CallbackQueryPayload Source # | |
Defined in TD.Data.CallbackQueryPayload showsPrec :: Int -> CallbackQueryPayload -> ShowS # show :: CallbackQueryPayload -> String # showList :: [CallbackQueryPayload] -> ShowS # | |
Eq CallbackQueryPayload Source # | |
Defined in TD.Data.CallbackQueryPayload (==) :: CallbackQueryPayload -> CallbackQueryPayload -> Bool # (/=) :: CallbackQueryPayload -> CallbackQueryPayload -> Bool # | |
ShortShow CallbackQueryPayload Source # | |
Defined in TD.Data.CallbackQueryPayload |