| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.StarTransactionType
Synopsis
- data StarTransactionType
- = StarTransactionTypePremiumBotDeposit
- | StarTransactionTypeAppStoreDeposit
- | StarTransactionTypeGooglePlayDeposit
- | StarTransactionTypeFragmentDeposit
- | StarTransactionTypeUserDeposit { }
- | StarTransactionTypeGiveawayDeposit { }
- | StarTransactionTypeFragmentWithdrawal { }
- | StarTransactionTypeTelegramAdsWithdrawal
- | StarTransactionTypeTelegramApiUsage { }
- | StarTransactionTypeBotPaidMediaPurchase { }
- | StarTransactionTypeBotPaidMediaSale { }
- | StarTransactionTypeChannelPaidMediaPurchase { }
- | StarTransactionTypeChannelPaidMediaSale { }
- | StarTransactionTypeBotInvoicePurchase { }
- | StarTransactionTypeBotInvoiceSale { }
- | StarTransactionTypeBotSubscriptionPurchase { }
- | StarTransactionTypeBotSubscriptionSale { }
- | StarTransactionTypeChannelSubscriptionPurchase { }
- | StarTransactionTypeChannelSubscriptionSale { }
- | StarTransactionTypeGiftPurchase { }
- | StarTransactionTypeGiftTransfer { }
- | StarTransactionTypeGiftOriginalDetailsDrop { }
- | StarTransactionTypeGiftSale { }
- | StarTransactionTypeGiftUpgrade { }
- | StarTransactionTypeGiftUpgradePurchase { }
- | StarTransactionTypeUpgradedGiftPurchase { }
- | StarTransactionTypeUpgradedGiftSale { }
- | StarTransactionTypeChannelPaidReactionSend { }
- | StarTransactionTypeChannelPaidReactionReceive { }
- | StarTransactionTypeAffiliateProgramCommission { }
- | StarTransactionTypePaidMessageSend { }
- | StarTransactionTypePaidMessageReceive { }
- | StarTransactionTypeSuggestedPostPaymentSend { }
- | StarTransactionTypeSuggestedPostPaymentReceive { }
- | StarTransactionTypePremiumPurchase { }
- | StarTransactionTypeBusinessBotTransferSend { }
- | StarTransactionTypeBusinessBotTransferReceive { }
- | StarTransactionTypePublicPostSearch
- | StarTransactionTypeUnsupported
Documentation
data StarTransactionType Source #
Describes type of transaction with Telegram Stars
Constructors
| StarTransactionTypePremiumBotDeposit | The transaction is a deposit of Telegram Stars from the Premium bot; for regular users only |
| StarTransactionTypeAppStoreDeposit | The transaction is a deposit of Telegram Stars from App Store; for regular users only |
| StarTransactionTypeGooglePlayDeposit | The transaction is a deposit of Telegram Stars from Google Play; for regular users only |
| StarTransactionTypeFragmentDeposit | The transaction is a deposit of Telegram Stars from Fragment; for regular users and bots only |
| StarTransactionTypeUserDeposit | The transaction is a deposit of Telegram Stars by another user; for regular users only |
| StarTransactionTypeGiveawayDeposit | The transaction is a deposit of Telegram Stars from a giveaway; for regular users only |
| StarTransactionTypeFragmentWithdrawal | The transaction is a withdrawal of earned Telegram Stars to Fragment; for regular users, bots, supergroup and channel chats only |
Fields
| |
| StarTransactionTypeTelegramAdsWithdrawal | The transaction is a withdrawal of earned Telegram Stars to Telegram Ad platform; for bots and channel chats only |
| StarTransactionTypeTelegramApiUsage | The transaction is a payment for Telegram API usage; for bots only |
Fields
| |
| StarTransactionTypeBotPaidMediaPurchase | The transaction is a purchase of paid media from a bot or a business account by the current user; for regular users only |
| StarTransactionTypeBotPaidMediaSale | The transaction is a sale of paid media by the bot or a business account managed by the bot; for bots only |
Fields
| |
| StarTransactionTypeChannelPaidMediaPurchase | The transaction is a purchase of paid media from a channel by the current user; for regular users only |
| StarTransactionTypeChannelPaidMediaSale | The transaction is a sale of paid media by the channel chat; for channel chats only |
Fields
| |
| StarTransactionTypeBotInvoicePurchase | The transaction is a purchase of a product from a bot or a business account by the current user; for regular users only |
Fields
| |
| StarTransactionTypeBotInvoiceSale | The transaction is a sale of a product by the bot; for bots only |
Fields
| |
| StarTransactionTypeBotSubscriptionPurchase | The transaction is a purchase of a subscription from a bot or a business account by the current user; for regular users only |
Fields
| |
| StarTransactionTypeBotSubscriptionSale | The transaction is a sale of a subscription by the bot; for bots only |
Fields
| |
| StarTransactionTypeChannelSubscriptionPurchase | The transaction is a purchase of a subscription to a channel chat by the current user; for regular users only |
| StarTransactionTypeChannelSubscriptionSale | The transaction is a sale of a subscription by the channel chat; for channel chats only |
| StarTransactionTypeGiftPurchase | The transaction is a purchase of a regular gift; for regular users and bots only |
| StarTransactionTypeGiftTransfer | The transaction is a transfer of an upgraded gift; for regular users only |
Fields
| |
| StarTransactionTypeGiftOriginalDetailsDrop | The transaction is a drop of original details of an upgraded gift; for regular users only |
Fields
| |
| StarTransactionTypeGiftSale | The transaction is a sale of a received gift; for regular users and channel chats only |
| StarTransactionTypeGiftUpgrade | The transaction is an upgrade of a gift; for regular users only |
| StarTransactionTypeGiftUpgradePurchase | The transaction is a purchase of an upgrade of a gift owned by another user or channel; for regular users only |
| StarTransactionTypeUpgradedGiftPurchase | The transaction is a purchase of an upgraded gift for some user or channel; for regular users only |
| StarTransactionTypeUpgradedGiftSale | The transaction is a sale of an upgraded gift; for regular users only |
Fields
| |
| StarTransactionTypeChannelPaidReactionSend | The transaction is a sending of a paid reaction to a message in a channel chat by the current user; for regular users only |
| StarTransactionTypeChannelPaidReactionReceive | The transaction is a receiving of a paid reaction to a message by the channel chat; for channel chats only |
| StarTransactionTypeAffiliateProgramCommission | The transaction is a receiving of a commission from an affiliate program; for regular users, bots and channel chats only |
| StarTransactionTypePaidMessageSend | The transaction is a sending of a paid message; for regular users only |
| StarTransactionTypePaidMessageReceive | The transaction is a receiving of a paid message; for regular users, supergroup and channel chats only |
Fields
| |
| StarTransactionTypeSuggestedPostPaymentSend | The transaction is a payment for a suggested post; for regular users only |
| StarTransactionTypeSuggestedPostPaymentReceive | The transaction is a receiving of a payment for a suggested post by the channel chat; for channel chats only |
| StarTransactionTypePremiumPurchase | The transaction is a purchase of Telegram Premium subscription; for regular users and bots only |
| StarTransactionTypeBusinessBotTransferSend | The transaction is a transfer of Telegram Stars to a business bot; for regular users only |
| StarTransactionTypeBusinessBotTransferReceive | The transaction is a transfer of Telegram Stars from a business account; for bots only |
| StarTransactionTypePublicPostSearch | The transaction is a payment for search of posts in public Telegram channels; for regular users only |
| StarTransactionTypeUnsupported | The transaction is a transaction of an unsupported type |
Instances
| FromJSON StarTransactionType Source # | |
Defined in TD.Data.StarTransactionType Methods parseJSON :: Value -> Parser StarTransactionType # parseJSONList :: Value -> Parser [StarTransactionType] # | |
| Show StarTransactionType Source # | |
Defined in TD.Data.StarTransactionType Methods showsPrec :: Int -> StarTransactionType -> ShowS # show :: StarTransactionType -> String # showList :: [StarTransactionType] -> ShowS # | |
| Eq StarTransactionType Source # | |
Defined in TD.Data.StarTransactionType Methods (==) :: StarTransactionType -> StarTransactionType -> Bool # (/=) :: StarTransactionType -> StarTransactionType -> Bool # | |
| ShortShow StarTransactionType Source # | |
Defined in TD.Data.StarTransactionType Methods | |