Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data ReactionType
- = ReactionTypeEmoji { }
- | ReactionTypeCustomEmoji { }
- | ReactionTypePaid
Documentation
data ReactionType Source #
Describes type of message reaction
ReactionTypeEmoji | A reaction with an emoji |
ReactionTypeCustomEmoji | A reaction with a custom emoji |
| |
ReactionTypePaid | The paid reaction in a channel chat |
Instances
FromJSON ReactionType Source # | |
Defined in TD.Data.ReactionType parseJSON :: Value -> Parser ReactionType # parseJSONList :: Value -> Parser [ReactionType] # | |
ToJSON ReactionType Source # | |
Defined in TD.Data.ReactionType toJSON :: ReactionType -> Value # toEncoding :: ReactionType -> Encoding # toJSONList :: [ReactionType] -> Value # toEncodingList :: [ReactionType] -> Encoding # | |
Show ReactionType Source # | |
Defined in TD.Data.ReactionType showsPrec :: Int -> ReactionType -> ShowS # show :: ReactionType -> String # showList :: [ReactionType] -> ShowS # | |
Eq ReactionType Source # | |
Defined in TD.Data.ReactionType (==) :: ReactionType -> ReactionType -> Bool # (/=) :: ReactionType -> ReactionType -> Bool # | |
ShortShow ReactionType Source # | |
Defined in TD.Data.ReactionType shortShow :: ReactionType -> String Source # |