addFriend method

Future<NIMResult<void>> addFriend(
  1. {required String userId,
  2. String? message,
  3. required NIMVerifyType verifyType}
)

添加好友

Implementation

Future<NIMResult<void>> addFriend(
    {required String userId,
    String? message,
    required NIMVerifyType verifyType}) async {
  return _platform.addFriend(userId, message, verifyType);
}