invite_to_group_call()

async Client.invite_to_group_call()

Invite one or more users to an active group voice chat.

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

  • users (List of int | str | int | str) – List of user identifiers, or a single user identifier.

Returns:

Updates – On success, updates are returned.

Example

await app.invite_to_group_call(chat_id, [1234567, "username"])