| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Telegram.Bot.API.Types.ChatBoostSource
Contents
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
Constructors
| ChatBoostSourcePremium | The boost was obtained by subscribing to Telegram Premium or by gifting a Telegram Premium subscription to another user. |
Fields
| |
| 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. |
Fields
| |
| 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. |
Fields
| |