Layer 227
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.
constructor
reportResultChooseOption#f0e4e0b6 title:string options:Vector<MessageReportOption> = ReportResult;
Parameters
| Name | Type | Description |
|---|---|---|
| Title | string | Title of the option popup |
| Options | Vector < MessageReportOption > | Available options, rendered as menu entries. |
Returns
ReportResultGogram Example
// Creating ReportResultChooseOption constructor obj := &tg.ReportResultChooseOption{ Title: "Hello, World!", Options: &tg.VectorMessageReportOption{}, }