View Source ExTDLib.Method.ReportChatPhoto (ExTDLib v0.0.4)
Reports a chat photo to the Telegram moderators. A chat photo can be reported only if chat.can_be_reported. Returns object_ptr<Ok>.
| Name | Type | Description |
|---|---|---|
| chat_id | string | Chat identifier. |
| file_id | number | Identifier of the photo to report. Only full photos from chatPhoto can be reported. |
| reason | ReportReason | The reason for reporting the chat photo. |
| text | string | Additional report details; 0-1024 characters. |
More details on telegram's documentation.