code: public ApiSuccessResponse uploadFile(String id, UploadData uploadData) throws ApiException {
          ApiResponse<ApiSuccessResponse> resp = uploadFileWithHttpInfo(id, uploadData);
          return resp.getData();
      }
docs: Share a document
  Share a document with participants
  @param id The ID of the chat interaction. (required)
  @param uploadData Request parameters. (optional)
  @return ApiSuccessResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body