Constructor: messageReportOption
Report menu option
Attributes:
Name | Type | Required | Description |
---|---|---|---|
text | string | Yes | Option title |
option | bytes | Yes | Option identifier: if the user selects this option, re-invoke messages.report, passing this option to option |
Type: MessageReportOption
Example:
$messageReportOption = ['_' => 'messageReportOption', 'text' => 'string', 'option' => 'bytes'];