Airgram

Guides
/
/
Methods

api.getScopeNotificationSettings()

Returns the notification settings for chats of a given type

Parameters GetScopeNotificationSettingsParams:

NameTypeDescription
scope Types of chats for which to return the notification settings information
Returns ApiResponse interface:
interface ApiResponse {
  _: 'getScopeNotificationSettings' | 'error'
  airgram: Airgram
  request: {
    method: 'getScopeNotificationSettings'
    params: GetScopeNotificationSettingsParams
  }
  response:  | 
  setState: (nextState: Record<string, unknown>) => void
  getState: () => Record<string, unknown>
}