Link Search Menu Expand Document

Constructor: reportResultAddComment

Back to constructors index

The user should enter an additional comment for the moderators, and then messages.report must be re-invoked, passing the comment to messages.report.message.

Attributes:

NameTypeRequiredDescription
optionalBoolOptionalWhether this step can be skipped by the user, passing an empty message to messages.report, or if a non-empty message is mandatory.
optionbytesYesThe messages.report method must be re-invoked, passing this option to option

Type: ReportResult

Example:

$reportResultAddComment = ['_' => 'reportResultAddComment', 'optional' => Bool, 'option' => 'bytes'];