get_boosts_list()¶
- Client.get_boosts_list()¶
Get the list of boosts 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).limit (
int, optional) – Limits the number of boosts to be retrieved. By default, no limit is applied and all boosts are returned.offset (
str, optional) – Offset for pagination.
- Returns:
Generator– A generator yieldingBoostobjects.
Example
async for boost in app.get_boosts_list(chat_id): print(boost.user)