Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data ChatBoostSource
- = ChatBoostSourcePremium { }
- | ChatBoostSourceGiftCode { }
- | ChatBoostSourceGiveaway { }
ChatBoostSource
data ChatBoostSource Source #
This object describes the source of a chat boost. It can be one of
- ChatBoostSourcePremium
- ChatBoostSourceGiftCode
- ChatBoostSourceGiveaway
ChatBoostSourcePremium | The boost was obtained by subscribing to Telegram Premium or by gifting a Telegram Premium subscription to another user. |
| |
ChatBoostSourceGiftCode | The boost was obtained by the creation of Telegram Premium gift codes to boost a chat. Each such code boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription. |
| |
ChatBoostSourceGiveaway | The boost was obtained by the creation of a Telegram Premium giveaway. This boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription. |
|