Chat.leave()

Chat.leave()

Bound method leave of Chat.

Use as a shortcut for:

client.leave_chat(123456789)

Example

chat.leave()
Raises

RPCError – In case of a Telegram RPC error.