Folder.include_chat()#
- Folder.include_chat()#
Bound method include_chat of
Folder
.Use as a shortcut for:
await client.update_folder( folder_id=123456789, included_chats=[chat_id], excluded_chats=[...], pinned_chats=[...] )
Example
await folder.include_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.