Interface ReportChat

Reports a chat to the Telegram moderators. A chat can be reported only from the chat action bar, or if chat.can_be_reported. Request type for Tdjson#reportChat.

interface ReportChat {
    @type: "reportChat";
    chat_id: number;
    message_ids: number[];
    option_id: string;
    text: string;
}

Properties

@type: "reportChat"
chat_id: number

Chat identifier.

message_ids: number[]

Identifiers of reported messages. Use messageProperties.can_report_chat to check whether the message can be reported.

option_id: string

Option identifier chosen by the user; leave empty for the initial request.

text: string

Additional report details if asked by the server; 0-1024 characters; leave empty for the initial request.