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>.
| Name | Type | Description |
|---|---|---|
| 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. |
More details on telegram's documentation.