telegram api method · layer 229 · #974392f2

phone.toggleGroupCallSettings

usable by users

Change group call settings

definition

phone.toggleGroupCallSettings#974392f2 flags:# reset_invite_hash:flags.1?true call:InputGroupCall join_muted:flags.0?Bool messages_enabled:flags.2?Bool send_paid_messages_stars:flags.3?long = Updates;

parameters

nametypedescription
flags#Flags, see TL conditional fields
reset_invite_hashflags.1?trueInvalidate existing invite links
callInputGroupCallGroup call
join_mutedflags.0?BoolWhether all users will that join this group call are muted by default upon joining the group call
messages_enabledflags.2?Bool
send_paid_messages_starsflags.3?long

returns

Updates

errors (6)

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.
400GROUPCALL_NOT_MODIFIEDGroup call settings weren't modified.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).
403GROUPCALL_CHANGE_FORBIDDENYou cannot change this group call setting.
403GROUPCALL_FORBIDDENThe specified group call cannot be used in this context.

history

present in layers 122–229 · constructor id changed 2×

idlayers
#74bbb43d122–215
#e9723804216
#974392f2217–229