Interface ReportSupergroupSpam

Reports messages in a supergroup as spam; requires administrator rights in the supergroup. Request type for Tdjson#reportSupergroupSpam.

interface ReportSupergroupSpam {
    @type: "reportSupergroupSpam";
    message_ids: number[];
    supergroup_id: number;
}

Properties

@type: "reportSupergroupSpam"
message_ids: number[]

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

supergroup_id: number

Supergroup identifier.