sendFriendApplication abstract method

Supported versions: 2.14.0 and above.

Detail description: When the user needs to initiate a friend application, he can initiate a friend application to the other party through sendFriendApplication.

Business scenario: When you need to initiate a friend request for a user, you can call this interface.

When to call: It can be called after creating a ZIM instance through create.

Related callbacks: ZIMEventHandler.onFriendApplicationListChanged.

Implementation

Future<ZIMFriendApplicationSentResult> sendFriendApplication(String userID,ZIMFriendApplicationSendConfig config);