get_community_participant_chats()

Client.get_community_participant_chats()

Get chats joined by a participant in a community.

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

  • participant_id (int | str) – The participant.

Returns:

ParticipantJoinedChats – Chats the participant joined.

Example

result = await app.get_community_participant_chats(community_id, user_id)