Overview of User Blocklist
The User Blocklist service restricts one-to-one chat messages between users, enabling the block feature in one-to-one chat scenarios.
By default, the User Blocklist service is enabled for all users under the App Key. You can use the following APIs:
Key points of the User Blocklist service:
-
There is a limit to the number of users that can be added to the blocklist. For details, refer to the Chat Ultimate Plan, Chat Premium Plan Feature Comparison.
-
While establishing the user blocklist relationship on the IM server, you should also maintain a user blocklist relationship on your application server for easier business data processing.
-
The User Blocklist service cannot be used simultaneously with the User Allowlist service. Enabling the allowlist service will render the blocklist service ineffective. However, the previously set blocklist information will not be lost, and it will remain effective when switching back to the blocklist service.
The User Allowlist service can also restrict one-to-one chat messages between users. This service filters messages based on the sender, allowing only messages from senders in the current user's allowlist to be delivered. For more details, refer to the Overview of User Allowlist Service.