checkFriend method
检查指定用户的好友关系
参数
checkType 检查类型
V2TIMFriendInfo.V2TIM_FRIEND_TYPE_SINGLE:单向好友
V2TIMFriendInfo.V2TIM_FRIEND_TYPE_BOTH:双向好友
Implementation
@override
Future<V2TimValueCallback<List<V2TimFriendCheckResult>>> checkFriend({
required List<String> userIDList,
required int checkType,
}) async {
return V2TimValueCallback<List<V2TimFriendCheckResult>>.fromJson(
formatJson(
await _channel.invokeMethod(
"checkFriend",
buildFriendManagerParam(
{
"userIDList": userIDList,
"checkType": checkType,
},
),
),
),
);
}