acceptFriendApplication method

Future<void> acceptFriendApplication({
  1. required String userId,
  2. String handleMsg = '',
})

Implementation

Future<void> acceptFriendApplication({
  required String userId,
  String handleMsg = '',
}) async {
  await _call('acceptFriendApplication', () async {
    await OpenIM.iMManager.friendshipManager.acceptFriendApplication(
      userID: userId,
      handleMsg: handleMsg,
    );
  });
}