View Source ExTDLib.Method.ReportChat (ExTDLib v0.0.4)

Reports a chat to the Telegram moderators. A chat can be reported only from the chat action bar, or if chat.can_be_reported. Returns object_ptr<Ok>.

NameTypeDescription
chat_idstringChat identifier.
message_idsstringIdentifiers of reported messages; may be empty to report the whole chat.
reasonReportReasonThe reason for reporting the chat.
textstringAdditional report details; 0-1024 characters.

More details on telegram's documentation.