code: public ApiResponse<ApiSuccessResponse> uploadFileWithHttpInfo(String id, UploadData uploadData) throws ApiException {
          com.squareup.okhttp.Call call = uploadFileValidateBeforeCall(id, uploadData, null, null);
          Type localVarReturnType = new TypeToken<ApiSuccessResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Share a document
  Share a document with participants
  @param id The ID of the chat interaction. (required)
  @param uploadData Request parameters. (optional)
  @return ApiResponse&lt;ApiSuccessResponse&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body