User.archive()#

Bound method archive of User.

Use as a shortcut for:

await client.archive_chats(123456789)

Example

Returns:

True on success.

Raises:

RPCError – In case of a Telegram RPC error.