api.getScopeNotificationSettings()
Returns the notification settings for chats of a given type
Parameters
GetScopeNotificationSettingsParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
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>
}