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"
}
{
"type": "object",
"description": "Specifies up to five options that a user can select from the preprocessing dialog to provide a reason for reporting a message.",
"properties": {
"title": {
"type": "string",
"description": "Specifies the title listed before the reporting options list.",
"maxLength": 128
},
"options": {
"type": "array",
"description": "Specifies the custom options that a user can select from the preprocessing dialog to provide a reason for reporting a message.",
"items": {
"type": "string",
"minItems": 1,
"maxItems": 5
}
},
"type": {
"type": "string",
"enum": [
"radio",
"checkbox"
],
"description": "Can be set to \u0022radio\u0022 or \u0022checkbox\u0022. This determines if Radio Buttons or checkboxes are used for the options. \u0022checkbox\u0022 is the default if this value is not specified.",
"default": "checkbox"
}
},
"required": [
"title",
"options"
]
}
{
"title": "{string}",
"options": [
"{string}"
],
"type": "radio | checkbox"
}
{
"type": "object",
"description": "Specifies whether the bot offers an experience in the context of a channel in a team, in a 1:1 or group chat, or in an experience scoped to an individual user alone. These options are non-exclusive.",
"properties": {
"title": {
"type": "string",
"description": "Specifies the title listed before the reporting options list.",
"maxLength": 128
},
"options": {
"type": "array",
"description": "Specifies the custom options that a user can select from the preprocessing dialog to provide a reason for reporting a message.",
"items": {
"type": "string",
"minItems": 1,
"maxItems": 5
}
},
"type": {
"type": "string",
"enum": [
"radio",
"checkbox"
],
"description": "Can be set to \u0022radio\u0022 or \u0022checkbox\u0022. This determines if Radio Buttons or checkboxes are used for the options. \u0022checkbox\u0022 is the default if this value is not specified.",
"default": "checkbox"
}
},
"required": [
"title",
"options"
]
}
{
"title": "{string}",
"options": [
"{string}"
]
}
{
"type": "object",
"description": "Specifies whether the bot offers an experience in the context of a channel in a team, in a 1:1 or group chat, or in an experience scoped to an individual user alone. These options are non-exclusive.",
"properties": {
"title": {
"type": "string",
"description": "Specifies the title listed before the reporting options list.",
"maxLength": 128
},
"options": {
"type": "array",
"description": "Specifies the custom options that a user can select from the preprocessing dialog to provide a reason for reporting a message.",
"items": {
"type": "string",
"minItems": 1,
"maxItems": 5
}
}
},
"required": [
"title",
"options"
]
}
Properties
title
Specifies the custom text or title to describe the reporting options provided in the preprocessing dialog.
Constraints
Maximum string length: 128.
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.
Constraints
Maximum string length: 128.
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.
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
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.
Supported values
Allowed values: radio, checkbox.