User.get_common_chats()

User.get_common_chats()

Bound method get_common_chats of User.

Use as a shortcut for:

await client.get_common_chats(123456789)

Example

await user.get_common_chats()
Returns:

List of Chat – On success, a list of the common chats is returned.

Raises:

RPCError – In case of a Telegram RPC error.