Chat.join()

Chat.join()

Bound method join of Chat.

Use as a shortcut for:

client.join_chat(123456789)

Example

chat.join()

Note

This only works for public groups and channels that have set a username.

Returns

Chat – On success, a chat object is returned.

Raises

RPCError – In case of a Telegram RPC error.