Skip to content

setMessageSenderBlockList

Function · TDLib 1.8.67 · d1085f9c

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

setMessageSenderBlockList(
  sender_id: MessageSender,
  block_list: BlockList
) → Ok

sender_id

MessageSender

Identifier of a message sender to block/unblock

block_list

BlockList

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