YouTube.js
Guide
Discord
❤️ Sponsor
GitHub
Guide
Discord
❤️ Sponsor
GitHub

youtubei.js / YTNodes / PlaylistCollaborationView

Class: PlaylistCollaborationView

Defined in: src/parser/classes/PlaylistCollaborationView.ts:7

Extends

  • YTNode

Constructors

Constructor

new PlaylistCollaborationView(data): PlaylistCollaborationView

Defined in: src/parser/classes/PlaylistCollaborationView.ts:23

Parameters

data

RawNode

Returns

PlaylistCollaborationView

Overrides

YTNode.constructor

Properties

allow_new_collaborators_playlist_collaboration_setting

allow_new_collaborators_playlist_collaboration_setting: YTNode | null

Defined in: src/parser/classes/PlaylistCollaborationView.ts:18


collaborate_playlist_collaboration_setting

collaborate_playlist_collaboration_setting: YTNode | null

Defined in: src/parser/classes/PlaylistCollaborationView.ts:13


collaboration_type?

optional collaboration_type?: "COLLABORATION_TYPE_UNSPECIFIED" | "COLLABORATION_TYPE_DEFAULT" | "COLLABORATION_TYPE_TASTE_MATCH"

Defined in: src/parser/classes/PlaylistCollaborationView.ts:17


copy_link_button

copy_link_button: YTNode | null

Defined in: src/parser/classes/PlaylistCollaborationView.ts:12


invite_collaborators_button

invite_collaborators_button: YTNode | null

Defined in: src/parser/classes/PlaylistCollaborationView.ts:21


leave_collaborative_playlist_confirmation_dialog

leave_collaborative_playlist_confirmation_dialog: YTNode | null

Defined in: src/parser/classes/PlaylistCollaborationView.ts:16


playlist_collaboration_entity_key?

optional playlist_collaboration_entity_key?: string

Defined in: src/parser/classes/PlaylistCollaborationView.ts:14


playlist_collaboration_form_schema?

optional playlist_collaboration_form_schema?: PlaylistCollaborationFormSchema

Defined in: src/parser/classes/PlaylistCollaborationView.ts:19


playlist_collaborators?

optional playlist_collaborators?: ObservedArray<ContentListItemView>

Defined in: src/parser/classes/PlaylistCollaborationView.ts:10


playlist_collaborators_data?

optional playlist_collaborators_data?: PlaylistCollaborationViewModelPlaylistCollaboratorData[]

Defined in: src/parser/classes/PlaylistCollaborationView.ts:15


turn_off_allow_new_collaborators_dialog

turn_off_allow_new_collaborators_dialog: YTNode | null

Defined in: src/parser/classes/PlaylistCollaborationView.ts:20


turn_off_collaboration_dialog

turn_off_collaboration_dialog: YTNode | null

Defined in: src/parser/classes/PlaylistCollaborationView.ts:11


type

readonly type: string

Defined in: src/parser/helpers.ts:8

Inherited from

YTNode.type


type

static type: string = 'PlaylistCollaborationView'

Defined in: src/parser/classes/PlaylistCollaborationView.ts:8

Overrides

YTNode.type

Methods

as()

as<T, K>(...types): InstanceType<K[number]>

Defined in: src/parser/helpers.ts:29

Cast to one of the given types.

Type Parameters

T

T extends YTNode

K

K extends YTNodeConstructor<T>[]

Parameters

types

...K

The types to cast to

Returns

InstanceType<K[number]>

The node cast to one of the given types

Throws

If the node is not of the given type

Inherited from

YTNode.as


hasKey()

hasKey<T, R>(key): this is PlaylistCollaborationView & { [k in string]: R }

Defined in: src/parser/helpers.ts:41

Check for a key without asserting the type.

Type Parameters

T

T extends string

R

R = any

Parameters

key

T

The key to check

Returns

this is PlaylistCollaborationView & { [k in string]: R }

Whether the node has the key

Inherited from

YTNode.hasKey


is()

is<T, K>(...types): this is InstanceType<K[number]>

Defined in: src/parser/helpers.ts:19

Check if the node is of the given type.

Type Parameters

T

T extends YTNode

K

K extends YTNodeConstructor<T>[]

Parameters

types

...K

The type to check

Returns

this is InstanceType<K[number]>

whether the node is of the given type

Inherited from

YTNode.is


key()

key<T, R>(key): Maybe

Defined in: src/parser/helpers.ts:51

Assert that the node has the given key and return it.

Type Parameters

T

T extends string

R

R = any

Parameters

key

T

The key to check

Returns

Maybe

The value of the key wrapped in a Maybe

Throws

If the node does not have the key

Inherited from

YTNode.key

Edit this page
Last Updated: 10/18/26, 4:42 AM