api.toggleGroupCallMuteNewParticipants()
Toggles whether new participants of a group call can be unmuted only by administrators of the group call. Requires groupCall.can_toggle_mute_new_participants group call flag
Parameters
ToggleGroupCallMuteNewParticipantsParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
groupCallId | number | Group call identifier |
muteNewParticipants | boolean | New value of the mute_new_participants setting |
Returns
ApiResponse
interface:interface ApiResponse {
_: 'toggleGroupCallMuteNewParticipants' | 'error'
airgram: Airgram
request: {
method: 'toggleGroupCallMuteNewParticipants'
params: ToggleGroupCallMuteNewParticipantsParams
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}