Raw.account.ContentSettings

Raw.account.ContentSettings

Sensitive content settings

account.contentSettings#57e28221 flags:# sensitive_enabled:flags.0?true sensitive_can_change:flags.1?true = account.ContentSettings;
export namespace Raw {
  export namespace account {
    export class ContentSettings {
      constructor(params: { sensitiveEnabled?: boolean; sensitiveCanChange?: boolean }) {}
    }
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x57e28221

Property

  • sensitiveEnabled : boolean or undefined

    Whether viewing of sensitive (nsfw) content is enabled

  • sensitiveCanChange : boolean or undefined

    Whether the current client can change the sensitive content settings to view nsfw content