Layer 220
ReportResult
Abstract type representing one of 3 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.ReportResult interface.
Use any of the following constructors:
ReportResultChooseOption
The user must choose one of the following options, and then messages. report must be re-invoked, pass
ReportResultReported
The report was sent successfully, no further actions are required.
ReportResultAddComment
The user should enter an additional comment for the moderators, and then messages. report must be re-
Gogram Example
// ReportResult is an interface type // You can use any of the following constructors: var _ tg.ReportResult = &tg.ReportResultChooseOption{} var _ tg.ReportResult = &tg.ReportResultReported{} var _ tg.ReportResult = &tg.ReportResultAddComment{}