// Add a user to the blocklistV2TimValueCallback<List<V2TimFriendOperationResult>> addBlackList = await friendshipManager.addToBlackList(userIDList: ['user1']);
deleteFromBlackList (Details) to remove a user from the blocklist, after which messages from the user can be received.// Remove a user from the blocklistV2TimValueCallback<List<V2TimFriendOperationResult>> deleteBlackList = await friendshipManager.deleteFromBlackList(userIDList: ['user1']);
// Get the blocklistV2TimValueCallback<List<V2TimFriendInfo>> blacklist = await friendshipManager.getBlackList();
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback