checkFriend method
Future<V2TimValueCallback<List<V2TimFriendCheckResult> > >
checkFriend({
- required List<
String> userIDList, - required FriendTypeEnum checkType,
检查指定用户的好友关系
参数
checkType 检查类型
FriendType.V2TIM_FRIEND_TYPE_SINGLE:单向好友
FriendType.V2TIM_FRIEND_TYPE_BOTH:双向好友
Implementation
Future<V2TimValueCallback<List<V2TimFriendCheckResult>>> checkFriend({
required List<String> userIDList,
required FriendTypeEnum checkType,
}) async {
return ImFlutterPlatform.instance.checkFriend(
userIDList: userIDList,
checkType: checkType.index,
);
}