acceptFriendApplication abstract method

Accept a friend application.

Available since: 2.14.0 or above. Description: After receiving the friend application, accept the friend application through this interface. When to call: It is available only after calling create to create the instance and then calling login to login. Related callbacks: ZIMFriendApplicationAcceptedResult.

  • userID The user ID of the friend application sender.
  • config Configuration for accepting the friend application.

Implementation

Future<ZIMFriendApplicationAcceptedResult> acceptFriendApplication(
  String userID,
  ZIMFriendApplicationAcceptConfig config,
);