telegram api method · layer 229 · #7b393160
phone.inviteToGroupCall
Invite a set of users to a group call.
definition
phone.inviteToGroupCall#7b393160 call:InputGroupCall users:Vector<InputUser> = Updates;
parameters
| name | type | description |
|---|---|---|
call | InputGroupCall | The group call |
users | Vector<InputUser> | The users to invite. |
returns
errors (8)
| code | error | description |
|---|---|---|
| 400 | BUSINESS_CONNECTION_NOT_ALLOWED | This method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection. |
| 400 | GROUPCALL_INVALID | The specified group call is invalid. |
| 400 | INVITE_FORBIDDEN_WITH_JOINAS | If the user has anonymously joined a group call as a channel, they can't invite other users to the group call because that would cause deanonymization, because the invite would be sent using the original user ID, not the anonymized channel ID. |
| 400 | USER_ALREADY_INVITED | You have already invited this user. |
| 401 | AUTH_KEY_UNREGISTERED | The specified authorization key is not registered in the system (for example, a PFS temporary key has expired). |
| 403 | CHAT_TYPE_INVALID | The specified user type is invalid. |
| 403 | GROUPCALL_FORBIDDEN | The specified group call cannot be used in this context. |
| 403 | USER_NOT_PARTICIPANT | You're not a member of this supergroup/channel. |
history
present in layers 122–229
| id | layers |
|---|---|
| #7b393160 | 122–229 |