Link Search Menu Expand Document

Constructor: channels.sponsoredMessageReportResultChooseOption

Back to constructors index

The user must choose a report option from the localized options available in options, and after selection, channels.reportSponsoredMessage must be invoked again, passing the option’s option field to the option param of the method.

Attributes:

NameTypeRequiredDescription
titlestringYesTitle of the option selection popup.
optionsArray of SponsoredMessageReportOptionYesLocalized list of options.

Type: channels.SponsoredMessageReportResult

Example:

$channels_sponsoredMessageReportResultChooseOption = ['_' => 'channels.sponsoredMessageReportResultChooseOption', 'title' => 'string', 'options' => [SponsoredMessageReportOption, SponsoredMessageReportOption]];