Chat.archive()

Chat.archive()

Bound method archive of Chat.

Use as a shortcut for:

client.archive_chats(-100123456789)

Example

chat.archive()
Returns

True on success.

Raises

RPCError – In case of a Telegram RPC error.