load_group_call_participants()#
- Client.load_group_call_participants()#
Loads participants list in a group call of a chat.
Usable by Users Bots- Parameters:
chat_id (
int|str) – Unique identifier (int) or username (str) of the target chat. A chat can be either a basic group or a supergroup.limit (
int, optional) – Limits the number of participants to be retrieved. By default, no limit is applied and all participants are returned.
- Returns:
Generator– On success, a generator yieldingGroupCallParticipantobject is returned.
Example
# Get participants async for participant in app.load_group_call_participants(chat_id): print(participant)