Layer 220
PhoneToggleGroupCallSettings
Change group call settings
method
Users
phone.toggleGroupCallSettings#74bbb43d flags:# reset_invite_hash:flags.1?true call:InputGroupCall join_muted:flags.0?Bool = Updates;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| ResetInviteHash | flags.1?true | Invalidate existing invite links |
| Call | InputGroupCall | Group call |
| JoinMuted | flags.0?Bool | Whether all users will that join this group call are muted by default upon joining the group call |
Returns
UpdatesPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | GROUPCALL_INVALID | The specified group call is invalid. |
| 400 | GROUPCALL_NOT_MODIFIED | Group call settings weren't modified. |
Gogram Example
// PhoneToggleGroupCallSettings - using Params struct result, err := client.PhoneToggleGroupCallSettings(&tg.PhoneToggleGroupCallSettingsParams{ Call: &tg.InputGroupCall{}, // Optional fields: // ResetInviteHash: true, // JoinMuted: true, }) if err != nil { // handle error } // result is *tg.Updates