Airgram

Guides
/
/
Methods

api.getUserPrivacySettingRules()

Returns the current privacy settings

Parameters GetUserPrivacySettingRulesParams:

NameTypeDescription
setting The privacy setting
Returns ApiResponse interface:
interface ApiResponse {
  _: 'getUserPrivacySettingRules' | 'error'
  airgram: Airgram
  request: {
    method: 'getUserPrivacySettingRules'
    params: GetUserPrivacySettingRulesParams
  }
  response:  | 
  setState: (nextState: Record<string, unknown>) => void
  getState: () => Record<string, unknown>
}