Skip to main content

Class: VideoRelated

Continuable of related videos inside a Video

Hierarchy​

Properties​

client​

• client: Client

An instance of Client

Inherited from​

Continuable.client


continuation​

• Optional continuation: null | string

Inherited from​

Continuable.continuation


items​

• items: (VideoCompact | PlaylistCompact)[] = []

Inherited from​

Continuable.items


video​

• Optional video: BaseVideo

The video this list of related videos belongs to

Methods​

next​

▸ next(count?): Promise<(VideoCompact | PlaylistCompact)[]>

Fetch next items using continuation token

Parameters​

NameTypeDefault value
countnumber1

Returns​

Promise<(VideoCompact | PlaylistCompact)[]>

Inherited from​

Continuable.next