telegramx.js

ChatBoostSourceGiftCode

interface

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.

Declaration

interface ChatBoostSourceGiftCode 

Properties

sourceproperty#
source: 'gift_code';

Source of the boost, always "gift_code"

userproperty#
user: User;

User for which the gift code was created