ackAddFriend method

Future<NIMResult<void>> ackAddFriend(
  1. {required String userId,
  2. bool isAgree = true,
  3. String? idServer}
)

确认添加好友, idServer仅为web端系统消息的id

Implementation

Future<NIMResult<void>> ackAddFriend(
    {required String userId, bool isAgree = true, String? idServer}) async {
  return _platform.ackAddFriend(userId, isAgree, idServer);
}