apply_boost()¶
- Client.apply_boost()¶
Apply a boost to 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).slots (List of
int, optional) – Which of your boost slots to reassign to this channel. If not provided, the first available slot will be used.
- Returns:
BoostStatus– The updated boost status.
Example
# Apply a boost to a channel status = await app.apply_boost(chat_id) print(f"New level: {status.level}")