telegram api method · layer 229 · #7b393160

phone.inviteToGroupCall

usable by users

Invite a set of users to a group call.

definition

phone.inviteToGroupCall#7b393160 call:InputGroupCall users:Vector<InputUser> = Updates;

parameters

nametypedescription
callInputGroupCallThe group call
usersVector<InputUser>The users to invite.

returns

Updates

errors (8)

codeerrordescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis 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.
400GROUPCALL_INVALIDThe specified group call is invalid.
400INVITE_FORBIDDEN_WITH_JOINASIf 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.
400USER_ALREADY_INVITEDYou have already invited this user.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).
403CHAT_TYPE_INVALIDThe specified user type is invalid.
403GROUPCALL_FORBIDDENThe specified group call cannot be used in this context.
403USER_NOT_PARTICIPANTYou're not a member of this supergroup/channel.

history

present in layers 122–229

idlayers
#7b393160122–229