set_boosts_to_unblock_restrictions()¶
- async Client.set_boosts_to_unblock_restrictions()¶
Set the required boost level to unblock chat restrictions or slowmode.
- Parameters:
chat_id (
int|str) – Unique identifier (int) or username (str) of the target supergroup.boosts (
int) – The number of boosts required to unblock restrictions.
- Returns:
bool– True on success.
Example
await app.set_boosts_to_unblock_restrictions(chat_id, 5)