GramIO API Reference / gramio/dist / TelegramChatBoostSourceGiftCode
Interface: TelegramChatBoostSourceGiftCode
Defined in: @gramio/types/out/objects.d.ts:5366
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.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
source | "gift_code" | Source of the boost, always “gift_code” | @gramio/types/out/objects.d.ts:5370 |
user | TelegramUser | User for which the gift code was created | @gramio/types/out/objects.d.ts:5374 |