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