View Source ExTDLib.Method.SetMessageSenderBlockList (ExTDLib v0.0.4)

Changes the block list of a message sender. Currently, only users and supergroup chats can be blocked. Returns object_ptr<Ok>.

NameTypeDescription
sender_idMessageSenderIdentifier of a message sender to block/unblock.
block_listBlockListNew block list for the message sender; pass null to unblock the message sender.

More details on telegram's documentation.