unfollowUser method

Future<V2TimValueCallback<List<V2TimFollowOperationResult>>> unfollowUser(
  1. {required List<String> userIDList}
)

取消关注用户

Implementation

Future<V2TimValueCallback<List<V2TimFollowOperationResult>>> unfollowUser({
  required List<String> userIDList,
}) async {
  if (kIsWeb) {
    return TencentCloudChatSdkPlatform.instance
        .unfollowUser(userIDList: userIDList);
  }

  return TIMFriendshipManager.instance
      .unfollowUser(userIDList: userIDList);
}