Chat.archive()#

Chat.archive()#

Bound method archive of Chat.

Use as a shortcut for:

await client.archive_chats(-100123456789)

Example

await chat.archive()
Returns:

True on success.

Raises:

RPCError – In case of a Telegram RPC error.