Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
TD.Data.PaidReactionType
Synopsis
Documentation
data PaidReactionType Source #
Describes type of paid message reaction
Constructors
PaidReactionTypeRegular | A paid reaction on behalf of the current user |
PaidReactionTypeAnonymous | An anonymous paid reaction |
PaidReactionTypeChat | A paid reaction on behalf of an owned chat |
Instances
FromJSON PaidReactionType Source # | |
Defined in TD.Data.PaidReactionType Methods parseJSON :: Value -> Parser PaidReactionType # parseJSONList :: Value -> Parser [PaidReactionType] # | |
ToJSON PaidReactionType Source # | |
Defined in TD.Data.PaidReactionType Methods toJSON :: PaidReactionType -> Value # toEncoding :: PaidReactionType -> Encoding # toJSONList :: [PaidReactionType] -> Value # toEncodingList :: [PaidReactionType] -> Encoding # | |
Show PaidReactionType Source # | |
Defined in TD.Data.PaidReactionType Methods showsPrec :: Int -> PaidReactionType -> ShowS # show :: PaidReactionType -> String # showList :: [PaidReactionType] -> ShowS # | |
Eq PaidReactionType Source # | |
Defined in TD.Data.PaidReactionType Methods (==) :: PaidReactionType -> PaidReactionType -> Bool # (/=) :: PaidReactionType -> PaidReactionType -> Bool # | |
ShortShow PaidReactionType Source # | |
Defined in TD.Data.PaidReactionType Methods shortShow :: PaidReactionType -> String Source # |