Interface ReportChatPhoto

Reports a chat photo to the Telegram moderators. A chat photo can be reported only if chat.can_be_reported. Request type for Tdjson#reportChatPhoto.

interface ReportChatPhoto {
    @type: "reportChatPhoto";
    chat_id: number;
    file_id: number;
    reason: ReportReason;
    text: string;
}

Properties

@type: "reportChatPhoto"
chat_id: number

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.