youtubei.js / Types / CreateVideoEndpointOptions
Type Alias: CreateVideoEndpointOptions
CreateVideoEndpointOptions:
object
Type declaration
client?
optional
client:InnerTubeClient
The client to use.
frontend_upload_id
frontend_upload_id:
string
The id of the frontend.
initial_metadata
initial_metadata:
object
The metadata to set after the video is uploaded.
initial_metadata.description
description:
object
initial_metadata.description.new_description
new_description:
string
initial_metadata.description.should_segment
should_segment:
boolean
initial_metadata.draft_state
draft_state:
object
initial_metadata.draft_state.is_draft?
optional
is_draft:boolean
initial_metadata.privacy
privacy:
object
initial_metadata.privacy.new_privacy
new_privacy:
string
initial_metadata.title
title:
object
initial_metadata.title.new_title
new_title:
string
resource_id
resource_id:
object
The id of the uploaded resource.
resource_id.scotty_resource_id
scotty_resource_id:
object
resource_id.scotty_resource_id.id
id:
string