Constructor: reportResultChooseOption
The user must choose one of the following options, and then messages.report must be re-invoked, passing the option’s option
identifier to messages.report.option
.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
title | string | Yes | Title of the option popup |
options | Array of MessageReportOption | Yes | Available options, rendered as menu entries. |
Type: ReportResult
Example:
$reportResultChooseOption = ['_' => 'reportResultChooseOption', 'title' => 'string', 'options' => [MessageReportOption, MessageReportOption]];