get_boost_status()

Client.get_boost_status()

Get boost status for a channel.

Usable by Users Bots
Parameters:

chat_id (int | str) – Unique identifier (int) or username (str) of the target channel. You can also use channel public link in form of t.me/<username> (str).

Returns:

BoostStatus – On success, the boost status is returned.

Example

status = await app.get_boost_status(chat_id)
print(f"Level: {status.level}, Boosts: {status.boosts}")