User.archive()

User.archive()

Bound method archive of User.

Use as a shortcut for:

client.archive_chats(123456789)

Example

user.archive()
Returns

True on success.

Raises

RPCError – In case of a Telegram RPC error.