invite_group_call_participants()¶
- Client.invite_group_call_participants()¶
Invites users to an active group call. Sends a service message of type
VIDEO_CHAT_PARTICIPANTS_INVITEDfor video chats.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.
user_ids (``int`` | ``str`` | List of ``int`` or ``str``) – Users identifiers to invite to group call in the chat. You can pass an ID (int) or username (str). At most 10 users can be invited simultaneously.
- Returns:¶
:obj:`~pyrogram.types.Message` (On success, the sent service message is returned.)
Example
await app.invite_group_call_participants(chat_id, user_id)