Folder.remove_chat()

Folder.remove_chat()

Bound method remove_chat of Folder.

Remove chat in folder from included/excluded/pinned chats.

Example

await folder.remove_chat(chat_id)
Parameters:

chat_id (int | str) – Unique identifier (int) or username (str) of the target chat. For your personal cloud (Saved Messages) you can simply use “me” or “self”. For a contact that exists in your Telegram address book you can use his phone number (str).

Returns:

True on success.