Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
ReactionType
data ReactionType Source #
This object describes the type of a reaction. Currently, it can be one of
ReactionTypeEmoji | |
| |
ReactionTypeCustomEmoji | |
|
Instances
FromJSON ReactionType Source # | |
Defined in Telegram.Bot.API.Types.ReactionType parseJSON :: Value -> Parser ReactionType # parseJSONList :: Value -> Parser [ReactionType] # | |
ToJSON ReactionType Source # | |
Defined in Telegram.Bot.API.Types.ReactionType toJSON :: ReactionType -> Value # toEncoding :: ReactionType -> Encoding # toJSONList :: [ReactionType] -> Value # toEncodingList :: [ReactionType] -> Encoding # omitField :: ReactionType -> Bool # | |
Show ReactionType Source # | |
Defined in Telegram.Bot.API.Types.ReactionType showsPrec :: Int -> ReactionType -> ShowS # show :: ReactionType -> String # showList :: [ReactionType] -> ShowS # |