ReportResultChooseOption
- class pyrogram.raw.types.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 of
ReportResult.- Details:
Layer:
223ID:
F0E4E0B6
- Parameters:
title (
str) – Title of the option popupoptions (List of
MessageReportOption) – Available options, rendered as menu entries.
- Functions:
This object can be returned by 2 functions.
Report a message in a chat for violation of telegram's Terms of Service
Report a story.
TL Schema
reportResultChooseOption#f0e4e0b6
title:string
options:Vector<MessageReportOption>
= ReportResult
Parameter Tree
ReportResultChooseOption
├── title →
string└── options →
Vector < MessageReportOption >├── text →
string└── option →
bytesExample
ReportResultChooseOption(
title="text",
options=[
MessageReportOption(
text="Open",
option=b"data"
)
],
)