Airgram

Guides
/
/
Methods

api.resetAllNotificationSettings()

Resets all notification settings to their default values. By default, all chats are unmuted, the sound is set to "default" and message previews are shown

Returns ApiResponse interface:
interface ApiResponse {
  _: 'resetAllNotificationSettings' | 'error'
  airgram: Airgram
  request: {
    method: 'resetAllNotificationSettings'
  }
  response:  | 
  setState: (nextState: Record<string, unknown>) => void
  getState: () => Record<string, unknown>
}