get_participant_joined_community_chats()

async Client.get_participant_joined_community_chats()

Get the list of chats within a community that a specific participant has joined.

Usable by Users Bots
Parameters:
  • community_id (int | str) – Target community identifier.

  • user_id (int | str, optional) – Target user ID or “me”. Defaults to “me”.

Returns:

ParticipantJoinedChats – Participant joined chats object.

Example

chats = await app.get_participant_joined_community_chats(community_id, "me")