telegram api method · layer 229 · #974392f2
phone.toggleGroupCallSettings
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
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
reset_invite_hash | true | Invalidate existing invite links |
call | InputGroupCall | Group call |
join_muted | Bool | Whether all users will that join this group call are muted by default upon joining the group call |
messages_enabled | Bool | |
send_paid_messages_stars | long |
returns
errors (6)
| 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 | GROUPCALL_NOT_MODIFIED | Group call settings weren't modified. |
| 401 | AUTH_KEY_UNREGISTERED | The specified authorization key is not registered in the system (for example, a PFS temporary key has expired). |
| 403 | GROUPCALL_CHANGE_FORBIDDEN | You cannot change this group call setting. |
| 403 | GROUPCALL_FORBIDDEN | The specified group call cannot be used in this context. |
history
present in layers 122–229 · constructor id changed 2×
| id | layers |
|---|---|
| #74bbb43d | 122–215 |
| #e9723804 | 216 |
| #974392f2 | 217–229 |