Skip to content

getChatBoosts

Function · TDLib 1.8.67 · d1085f9c

Returns the list of boosts applied to a chat; requires administrator rights in the chat

getChatBoosts(
  chat_id: int53,
  only_gift_codes: Bool,
  offset: string,
  limit: int32
) → FoundChatBoosts

chat_id

int53

Identifier of the chat

only_gift_codes

Bool

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

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

limit

int32

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