deactivate_chat_usernames()¶
- async Client.deactivate_chat_usernames()¶
Deactivate all secondary collectible usernames of a channel or supergroup.
- Parameters:
chat_id (
int|str) – Unique identifier (int) or username (str) of the target channel or supergroup.- Returns:
bool– True on success.
Example
await app.deactivate_chat_usernames(chat_id)