get_call_members()#

Client.get_call_members()#

Get the members list of a chat call.

A chat can be either a basic group or a supergroup.

Usable by Users Bots
Parameters:
  • chat_id (int | str) – Unique identifier (int) or username (str) of the target chat.

  • limit (int, optional) – Limits the number of members to be retrieved.

Returns:

Generator – On success, a generator yielding GroupCallMember objects is returned.

Example

# Get members
async for member in app.get_call_members(chat_id):
    print(member)