Layer 220
constructor

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
Optional flags.0?true Whether this step can be skipped by the user, passing an empty message to messages. report, or if a non-empty message is mandatory.
Option bytes The messages. report method must be re-invoked, passing this option to option

Returns

ReportResult

Gogram Example

// Creating ReportResultAddComment constructor
obj := &tg.ReportResultAddComment{
    Option: []byte{},

    // Optional fields:
    // Optional: true,
}