api.getUserPrivacySettingRules()
Returns the current privacy settings
Parameters
GetUserPrivacySettingRulesParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
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>
}