Represents a report menu or result
reportResultChooseOption#f0e4e0b6 title:string options:Vector<MessageReportOption> = ReportResult;
reportResultAddComment#6f09ac31 flags:# optional:flags.0?true option:bytes = ReportResult;
reportResultReported#8db33c4b = ReportResult;
---functions---
messages.report#fc78af9b peer:InputPeer id:Vector<int> option:bytes message:string = ReportResult;
stories.report#19d8eb45 peer:InputPeer id:Vector<int> option:bytes message:string = ReportResult;
Constructor | Description |
---|---|
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 . |
reportResultAddComment | 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 . |
reportResultReported | The report was sent successfully, no further actions are required. |
Method | Description |
---|---|
messages.report | Report a message in a chat for violation of telegram's Terms of Service |
stories.report | Report a story. |