User.archive()#

User.archive()#

Bound method archive of User.

Use as a shortcut for:

await client.archive_chats(123456789)

Example

await user.archive()
Returns:

True on success.

Raises:

RPCError – In case of a Telegram RPC error.