api.toggleGroupCallEnabledStartNotification()
Toggles whether the current user will receive a notification when the group call will start; scheduled group calls only
Parameters
ToggleGroupCallEnabledStartNotificationParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
groupCallId | number | Group call identifier |
enabledStartNotification | boolean | New value of the enabled_start_notification setting |
Returns
ApiResponse
interface:interface ApiResponse {
_: 'toggleGroupCallEnabledStartNotification' | 'error'
airgram: Airgram
request: {
method: 'toggleGroupCallEnabledStartNotification'
params: ToggleGroupCallEnabledStartNotificationParams
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}