Interface 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.

interface ChatBoostSourceGiveaway {
    giveaway_message_id: number;
    is_unclaimed?: true;
    source: "giveaway";
    user?: User;
}

Properties

giveaway_message_id: number

Identifier of a message in the chat with the giveaway; the message could have been deleted already

is_unclaimed?: true

True, if the giveaway was completed, but there was no user to win the prize

source: "giveaway"

Source of the boost, always “giveaway”

user?: User

User that won the prize in the giveaway if any