Class: VideoRelated
Continuable of related videos inside a Video
Hierarchy
Continuable
<VideoCompact
|PlaylistCompact
>↳
VideoRelated
Properties
client
• client: Client
An instance of Client
Inherited from
continuation
• Optional
continuation: null
| string
Inherited from
items
• items: (VideoCompact
| PlaylistCompact
)[] = []
Inherited from
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
Name | Type | Default value |
---|---|---|
count | number | 1 |
Returns
Promise
<(VideoCompact
| PlaylistCompact
)[]>