addFriend abstract method
Available since: 2.14.0 or above.
Description:Through this interface, a user with the specified userID can be added to the friend list.
When to call /Trigger: It is available only after calling create to create the instance and then calling login to login.
Related callbacks: ZIMEventHandler.onFriendListChanged.
Implementation
Future<ZIMFriendAddedResult> addFriend(String userID, ZIMFriendAddConfig config);