| 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 { }
- | StarTransactionTypeGiftAuctionBid { }
- | StarTransactionTypeGiftPurchase { }
- | StarTransactionTypeGiftPurchaseOffer { }
- | StarTransactionTypeGiftTransfer { }
- | StarTransactionTypeGiftOriginalDetailsDrop { }
- | StarTransactionTypeGiftSale { }
- | StarTransactionTypeGiftUpgrade { }
- | StarTransactionTypeGiftUpgradePurchase { }
- | StarTransactionTypeUpgradedGiftPurchase { }
- | StarTransactionTypeUpgradedGiftSale { }
- | StarTransactionTypeChannelPaidReactionSend { }
- | StarTransactionTypeChannelPaidReactionReceive { }
- | StarTransactionTypeAffiliateProgramCommission { }
- | StarTransactionTypePaidMessageSend { }
- | StarTransactionTypePaidMessageReceive { }
- | StarTransactionTypePaidGroupCallMessageSend { }
- | StarTransactionTypePaidGroupCallMessageReceive { }
- | StarTransactionTypePaidGroupCallReactionSend { }
- | StarTransactionTypePaidGroupCallReactionReceive { }
- | 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; relevant for regular users only |
| StarTransactionTypeAppStoreDeposit | The transaction is a deposit of Telegram Stars from App Store; relevant for regular users only |
| StarTransactionTypeGooglePlayDeposit | The transaction is a deposit of Telegram Stars from Google Play; relevant for regular users only |
| StarTransactionTypeFragmentDeposit | The transaction is a deposit of Telegram Stars from Fragment; relevant for regular users and bots only |
| StarTransactionTypeUserDeposit | The transaction is a deposit of Telegram Stars by another user; relevant for regular users only |
| StarTransactionTypeGiveawayDeposit | The transaction is a deposit of Telegram Stars from a giveaway; relevant for regular users only |
| StarTransactionTypeFragmentWithdrawal | The transaction is a withdrawal of earned Telegram Stars to Fragment; relevant for regular users, bots, supergroup and channel chats only |
Fields
| |
| StarTransactionTypeTelegramAdsWithdrawal | The transaction is a withdrawal of earned Telegram Stars to Telegram Ad platform; relevant for bots and channel chats only |
| StarTransactionTypeTelegramApiUsage | The transaction is a payment for Telegram API usage; relevant for bots only |
Fields
| |
| StarTransactionTypeBotPaidMediaPurchase | The transaction is a purchase of paid media from a bot or a business account by the current user; relevant for regular users only |
| StarTransactionTypeBotPaidMediaSale | The transaction is a sale of paid media by the bot or a business account managed by the bot; relevant for bots only |
Fields
| |
| StarTransactionTypeChannelPaidMediaPurchase | The transaction is a purchase of paid media from a channel by the current user; relevant for regular users only |
| StarTransactionTypeChannelPaidMediaSale | The transaction is a sale of paid media by the channel chat; relevant 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; relevant for regular users only |
Fields
| |
| StarTransactionTypeBotInvoiceSale | The transaction is a sale of a product by the bot; relevant for bots only |
Fields
| |
| StarTransactionTypeBotSubscriptionPurchase | The transaction is a purchase of a subscription from a bot or a business account by the current user; relevant for regular users only |
Fields
| |
| StarTransactionTypeBotSubscriptionSale | The transaction is a sale of a subscription by the bot; relevant for bots only |
Fields
| |
| StarTransactionTypeChannelSubscriptionPurchase | The transaction is a purchase of a subscription to a channel chat by the current user; relevant for regular users only |
| StarTransactionTypeChannelSubscriptionSale | The transaction is a sale of a subscription by the channel chat; relevant for channel chats only |
| StarTransactionTypeGiftAuctionBid | The transaction is a bid on a gift auction; relevant for regular users only |
| StarTransactionTypeGiftPurchase | The transaction is a purchase of a regular gift; relevant for regular users and bots only |
| StarTransactionTypeGiftPurchaseOffer | The transaction is an offer of gift purchase; relevant for regular users only |
Fields
| |
| StarTransactionTypeGiftTransfer | The transaction is a transfer of an upgraded gift; relevant for regular users only |
Fields
| |
| StarTransactionTypeGiftOriginalDetailsDrop | The transaction is a drop of original details of an upgraded gift; relevant for regular users only |
Fields
| |
| StarTransactionTypeGiftSale | The transaction is a sale of a received gift; relevant for regular users and channel chats only |
| StarTransactionTypeGiftUpgrade | The transaction is an upgrade of a gift; relevant for regular users only |
| StarTransactionTypeGiftUpgradePurchase | The transaction is a purchase of an upgrade of a gift owned by another user or channel; relevant for regular users only |
| StarTransactionTypeUpgradedGiftPurchase | The transaction is a purchase of an upgraded gift for some user or channel; relevant for regular users only |
| StarTransactionTypeUpgradedGiftSale | The transaction is a sale of an upgraded gift; relevant 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; relevant for regular users only |
| StarTransactionTypeChannelPaidReactionReceive | The transaction is a receiving of a paid reaction to a message by the channel chat; relevant for channel chats only |
| StarTransactionTypeAffiliateProgramCommission | The transaction is a receiving of a commission from an affiliate program; relevant for regular users, bots and channel chats only |
| StarTransactionTypePaidMessageSend | The transaction is a sending of a paid message; relevant for regular users only |
| StarTransactionTypePaidMessageReceive | The transaction is a receiving of a paid message; relevant for regular users, supergroup and channel chats only |
Fields
| |
| StarTransactionTypePaidGroupCallMessageSend | The transaction is a sending of a paid group call message; relevant for regular users only |
| StarTransactionTypePaidGroupCallMessageReceive | The transaction is a receiving of a paid group call message; relevant for regular users and channel chats only |
Fields
| |
| StarTransactionTypePaidGroupCallReactionSend | The transaction is a sending of a paid group reaction; relevant for regular users only |
| StarTransactionTypePaidGroupCallReactionReceive | The transaction is a receiving of a paid group call reaction; relevant for regular users and channel chats only |
Fields
| |
| StarTransactionTypeSuggestedPostPaymentSend | The transaction is a payment for a suggested post; relevant for regular users only |
| StarTransactionTypeSuggestedPostPaymentReceive | The transaction is a receiving of a payment for a suggested post by the channel chat; relevant for channel chats only |
| StarTransactionTypePremiumPurchase | The transaction is a purchase of Telegram Premium subscription; relevant for regular users and bots only |
| StarTransactionTypeBusinessBotTransferSend | The transaction is a transfer of Telegram Stars to a business bot; relevant for regular users only |
| StarTransactionTypeBusinessBotTransferReceive | The transaction is a transfer of Telegram Stars from a business account; relevant for bots only |
| StarTransactionTypePublicPostSearch | The transaction is a payment for search of posts in public Telegram channels; relevant 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 | |