Link Search Menu Expand Document

Constructor: messageReportOption

Back to constructors index

Report menu option

Attributes:

NameTypeRequiredDescription
textstringYesOption title
optionbytesYesOption 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'];