get_boosts_list()

async Client.get_boosts_list()

Obtains info about the boosts that were applied to a certain channel or supergroup (admins only).

Usable by Users Bots
Parameters:
  • chat_id (int | str) – Unique identifier (int) or username (str) of the target channel or supergroup.

  • offset (str, optional) – Offset for pagination. Defaults to empty string.

  • limit (int, optional) – Maximum number of results to return. Defaults to 10.

  • gifts (bool, optional) – Whether to return only info about boosts received from gift codes and giveaways.

Returns:

BoostsList – The boosts list.

Example

boosts = await app.get_boosts_list(chat_id)