Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
data TelegramPaymentPurpose Source #
Describes a purpose of a payment toward Telegram
TelegramPaymentPurposePremiumGiftCodes | The user creating Telegram Premium gift codes for other users |
| |
TelegramPaymentPurposePremiumGiveaway | The user creating a Telegram Premium giveaway |
| |
TelegramPaymentPurposeStars | The user buying Telegram Stars |
TelegramPaymentPurposeGiftedStars | The user buying Telegram Stars for other users |
TelegramPaymentPurposeStarGiveaway | The user creating a Telegram Star giveaway |
| |
TelegramPaymentPurposeJoinChat | The user joins a chat and subscribes to regular payments in Telegram Stars |
|
Instances
FromJSON TelegramPaymentPurpose Source # | |
Defined in TD.Data.TelegramPaymentPurpose | |
ToJSON TelegramPaymentPurpose Source # | |
Defined in TD.Data.TelegramPaymentPurpose toJSON :: TelegramPaymentPurpose -> Value # toEncoding :: TelegramPaymentPurpose -> Encoding # toJSONList :: [TelegramPaymentPurpose] -> Value # | |
Show TelegramPaymentPurpose Source # | |
Defined in TD.Data.TelegramPaymentPurpose showsPrec :: Int -> TelegramPaymentPurpose -> ShowS # show :: TelegramPaymentPurpose -> String # showList :: [TelegramPaymentPurpose] -> ShowS # | |
Eq TelegramPaymentPurpose Source # | |
Defined in TD.Data.TelegramPaymentPurpose | |
ShortShow TelegramPaymentPurpose Source # | |
Defined in TD.Data.TelegramPaymentPurpose |