Overview of User Allowlist
The user allowlist service restricts one-to-one chat messages between users. It is typically used to meet the needs of strong friend relationships, allowing only users on the allowlist to send messages to the current user. For two users to exchange messages in a one-to-one chat, they must be on each other's allowlist.
Once the user allowlist service is successfully enabled, the following interfaces can be used:
Key points of the user allowlist service:
- There is a limit to the number of users allowed in the allowlist. For details, refer to the Comparison of Features in Chat Ultimate Plan and Chat Premium Plan.
- The user allowlist service and user blocklist service cannot be used simultaneously. By default, only the user blocklist service is enabled for all users under the App Key. If you need to enable the user allowlist service, follow these steps:
- Enable the user allowlist service for specific individual or multiple users. You can directly call the API to set it up. For details, see Enable User Allowlist. If the allowlist service is enabled for a specific user, the blocklist service for that user becomes invalid.
- In the RC Console, navigate to Configuration > Chat settings > Basic features > One-to-One and Group Chat > One-to-One User Allowlist, and enable the One-to-One User Allowlist for all users under the App Key. Note: If the allowlist service is enabled for all users under the App Key, the blocklist service for all users becomes invalid.
- While establishing the user allowlist relationship on the IM server, it is necessary to maintain a copy of the user allowlist relationship in the backend service of the application to facilitate the processing of business data.