Folder.exclude_chat()#
- Folder.exclude_chat()#
Bound method exclude_chat of
Folder
.Use as a shortcut for:
await client.update_folder( folder_id=123456789, included_chats=[...], excluded_chats=[chat_id], pinned_chats=[...] )
Example
await folder.exclude_chat(chat_id)
- Parameters:
chat_id (
int
|str
) – Unique identifier for the target chat or username of the target user/channel/supergroup (in the format @username).- Returns:
True on success.