Interface GetChatBoosts

Returns the list of boosts applied to a chat; requires administrator rights in the chat. Request type for Tdjson#getChatBoosts.

interface GetChatBoosts {
    @type: "getChatBoosts";
    chat_id: number;
    limit: number;
    offset: string;
    only_gift_codes?: boolean;
}

Properties

@type: "getChatBoosts"
chat_id: number

Identifier of the chat.

limit: number

The maximum number of boosts to be returned; up to 100. For optimal performance, the number of returned boosts can be smaller than the specified limit.

offset: string

Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.

only_gift_codes?: boolean

Pass true to receive only boosts received from gift codes and giveaways created by the chat.