Interface SetMessageSenderBlockList

Changes the block list of a message sender. Currently, only users and supergroup chats can be blocked. Request type for Tdjson#setMessageSenderBlockList.

interface SetMessageSenderBlockList {
    @type: "setMessageSenderBlockList";
    block_list: BlockList;
    sender_id: MessageSender;
}

Properties

@type: "setMessageSenderBlockList"
block_list: BlockList

New block list for the message sender; pass null to unblock the message sender.

sender_id: MessageSender

Identifier of a message sender to block/unblock.