invite_group_call_participants()#
- Client.invite_group_call_participants()#
Invites users to an active group call. Sends a service message of type
Usable by ✅ Users ❌ BotsVIDEO_CHAT_PARTICIPANTS_INVITED
for video chats.- 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 ofint
orstr
) – 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:
Message
– On success, the sent service message is returned.
Example
await app.invite_group_call_participants(chat_id, user_id)