get_joined_communities()

async Client.get_joined_communities()

Get the list of Telegram Communities that the current user has joined.

Usable by Users Bots
Returns:

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

Example

communities = await app.get_joined_communities()