Skip to content

reportChatPhoto

Function · TDLib 1.8.67 · d1085f9c

Reports a chat photo to the Telegram moderators. A chat photo can be reported only if chat.can_be_reported

reportChatPhoto(
  chat_id: int53,
  file_id: int32,
  reason: ReportReason,
  text: string
) → Ok

chat_id

int53

Chat identifier

file_id

int32

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