Chat.leave()#

Chat.leave()#

Bound method leave of Chat.

Use as a shortcut for:

await client.leave_chat(123456789)

Example

await chat.leave()
Raises:

RPCError – In case of a Telegram RPC error.