Share via


extensionRibbonsSpamPreProcessingDialog.spamReportingOptions object

Specifies up to five options that a user can select from the preprocessing dialog to provide a reason for reporting a message.

Properties that reference this object type:

Syntax

{
  "title": "{string}",
  "options": [
    "{string}"
  ],
  "type": "radio | checkbox"
}
{
  "title": "{string}",
  "options": [
    "{string}"
  ]
}

Properties

title

Specifies the custom text or title to describe the reporting options provided in the preprocessing dialog.

Type
string

Required

Constraints
Maximum string length: 128.

Supported values

title

Specifies the custom text or title to describe the reporting options provided in the preprocessing dialog.

This property is localizable. For more information, see the localization schema.

Type
string

Required

Constraints
Maximum string length: 128.

Supported values

options

Specifies a custom option with a checkbox that a user can select from the preprocessing dialog to provide a reason for reporting a message. At least one option must be specified. A maximum of five options can be included.

Type
Array of string

Required

Constraints

Supported values

options

Specifies a custom option with a checkbox that a user can select from the preprocessing dialog to provide a reason for reporting a message. At least one option must be specified. A maximum of five options can be included.

This property is localizable. For more information, see the localization schema.

Type
Array of string

Required

Constraints

Supported values

type

The type of preprocessing dialog that appears when a user selects the spam reporting option. Can be set to "radio" or "checkbox". Default value: "checkbox". To learn more about spam preprocessing dialog options, see Configure the manifest.

Type
string

Required

Constraints

Supported values
Allowed values: radio, checkbox.