Interface ChatBoostSourceGiftCode

Describes source of a chat boost. Subtype of ChatBoostSource.

interface ChatBoostSourceGiftCode {
    @type: "chatBoostSourceGiftCode";
    gift_code: string;
    user_id: number;
}

Properties

@type: "chatBoostSourceGiftCode"
gift_code: string

The created Telegram Premium gift code, which is known only if this is a gift code for the current user, or it has already been claimed.

user_id: number

Identifier of a user, for which the gift code was created.