Interface BlockMessageSenderFromReplies

Blocks an original sender of a message in the Replies chat. Request type for Tdjson#blockMessageSenderFromReplies.

interface BlockMessageSenderFromReplies {
    @type: "blockMessageSenderFromReplies";
    delete_all_messages?: boolean;
    delete_message?: boolean;
    message_id: number;
    report_spam?: boolean;
}

Properties

@type: "blockMessageSenderFromReplies"
delete_all_messages?: boolean

Pass true to delete all messages from the same sender.

delete_message?: boolean

Pass true to delete the message.

message_id: number

The identifier of an incoming message in the Replies chat.

report_spam?: boolean

Pass true to report the sender to the Telegram moderators.