Folder.remove_chat()#
- Folder.remove_chat()#
Bound method remove_chat of
Folder
.Remove chat from included, excluded and pinned chats.
Use as a shortcut for:
await client.update_folder( folder_id=123456789, included_chats=[...], excluded_chats=[...], pinned_chats=[...] )
Example
await folder.remove_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.