addUsersToBlacklist abstract method

Future<ZIMBlacklistUsersAddedResult> addUsersToBlacklist(
  1. List<String> userIDs
)

Available since: 2.13.0 or above.

Description:Through this interface, a user with the specified userID can be added to the blacklist.

When to call /Trigger: It is available only after calling create to create the instance and then calling login to login.

Related callbacks: ZIMBlacklistUsersAddedResult.

Usage restrictions: The number of userID passed in at one time cannot exceed 20. userIDs The list of userIDs to be added to blacklist.

Implementation

Future<ZIMBlacklistUsersAddedResult> addUsersToBlacklist(
    List<String> userIDs);