ReportResult

class pyrogram.raw.base.ReportResult

Represents a report menu or result

Constructors:

This base type has 3 constructors available.

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.

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.

ReportResultReported

The report was sent successfully, no further actions are required.

Functions:

This object can be returned by 2 functions.

messages.Report

Report a message in a chat for violation of telegram's Terms of Service

stories.Report

Report a story.

TL Schema


Parameter Tree

ReportResult
│ ├── title → string
│ └── options → Vector < MessageReportOption >
│ └── MessageReportOption
│ ├── text → string
│ └── option → bytes
│ ├── optional → true (optional)
│ └── option → bytes

Example