set_message_sender_block_list


Description:

public async Ok set_message_sender_block_list (MessageSender sender_id, BlockList block_list) throws TDLibError

Changes the block list of a message sender. Currently, only users and supergroup chats can be blocked

Parameters:

sender_id

Identifier of a message sender to block/unblock

block_list

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