getFriendByIds method

Future<NIMResult<List<NIMFriend>>> getFriendByIds(
  1. List<String> accountIds
)

根据账号ID获取好友信息 只返回存在的好友信息,返回顺序与输入顺序一致。

Implementation

Future<NIMResult<List<NIMFriend>>> getFriendByIds(
    List<String> accountIds) async {
  return _platform.getFriendByIds(accountIds);
}