Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
TD.Data.ChatRevenueTransactionType
Synopsis
- data ChatRevenueTransactionType
Documentation
data ChatRevenueTransactionType Source #
Describes type of transaction for revenue earned from sponsored messages in a chat
Constructors
ChatRevenueTransactionTypeUnsupported | Describes an unsupported transaction |
ChatRevenueTransactionTypeSponsoredMessageEarnings | Describes earnings from sponsored messages in a chat in some time frame |
ChatRevenueTransactionTypeSuggestedPostEarnings | Describes earnings from a published suggested post |
ChatRevenueTransactionTypeFragmentWithdrawal | Describes a withdrawal of earnings through Fragment |
Fields
| |
ChatRevenueTransactionTypeFragmentRefund | Describes a refund for failed withdrawal of earnings through Fragment |
Fields
|
Instances
FromJSON ChatRevenueTransactionType Source # | |
Defined in TD.Data.ChatRevenueTransactionType Methods parseJSON :: Value -> Parser ChatRevenueTransactionType # parseJSONList :: Value -> Parser [ChatRevenueTransactionType] # | |
Show ChatRevenueTransactionType Source # | |
Defined in TD.Data.ChatRevenueTransactionType Methods showsPrec :: Int -> ChatRevenueTransactionType -> ShowS # show :: ChatRevenueTransactionType -> String # showList :: [ChatRevenueTransactionType] -> ShowS # | |
Eq ChatRevenueTransactionType Source # | |
Defined in TD.Data.ChatRevenueTransactionType Methods (==) :: ChatRevenueTransactionType -> ChatRevenueTransactionType -> Bool # (/=) :: ChatRevenueTransactionType -> ChatRevenueTransactionType -> Bool # | |
ShortShow ChatRevenueTransactionType Source # | |
Defined in TD.Data.ChatRevenueTransactionType Methods |