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>.
| Name | Type | Description |
|---|---|---|
| chat_id | string | Chat identifier. |
| message_ids | string | Identifiers of reported messages; may be empty to report the whole chat. |
| reason | ReportReason | The reason for reporting the chat. |
| text | string | Additional report details; 0-1024 characters. |
More details on telegram's documentation.