Airgram

Guides
/
/
Methods

api.toggleGroupCallEnabledStartNotification()

Toggles whether the current user will receive a notification when the group call will start; scheduled group calls only

Parameters ToggleGroupCallEnabledStartNotificationParams:

NameTypeDescription
groupCallIdnumber Group call identifier
enabledStartNotificationboolean 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>
}