reportChat¶
Reports a chat to the Telegram moderators. A chat can be reported only from the chat action bar, or if chat.can_be_reported
reportChat(
chat_id: int53,
option_id: bytes,
message_ids: list of int53,
text: string
) → ReportChatResult
chat_id¶
int53
Chat identifier
option_id¶
bytes
Option identifier chosen by the user; leave empty for the initial request
message_ids¶
list of int53
Identifiers of reported messages. Use messageProperties.can_report_chat to check whether the message can be reported
text¶
string
Additional report details if asked by the server; 0-1024 characters; leave empty for the initial request