api.reportChatPhoto()
Reports a chat photo to the Telegram moderators. A chat photo can be reported only if chat.can_be_reported
Parameters
ReportChatPhotoParams:chevron_leftchevron_right
Parameters
Interface
| Name | Type | Description |
|---|---|---|
chatId | number | Chat identifier |
fileId | number | Identifier of the photo to report. Only full photos from chatPhoto can be reported |
reason | The reason for reporting the chat photo | |
text | string | Additional report details; 0-1024 characters |