Search
Preparing search index...
The search index is not available
play-dl
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
play-dl
<internal>
YouTubeChannel
Class YouTubeChannel
Class for YouTube Channel url
Hierarchy
YouTubeChannel
Index
Constructors
constructor
Properties
artist
icon
id
name
subscribers
type
url
verified
Methods
_patch
iconURL
toJSON
to
String
Constructors
constructor
new
You
Tube
Channel
(
data
:
any
)
:
YouTubeChannel
Parameters
data:
any
Returns
YouTubeChannel
Properties
Optional
artist
artist
?:
boolean
Optional
icon
icon
?:
ChannelIconInterface
Optional
id
id
?:
string
Optional
name
name
?:
string
Optional
subscribers
subscribers
?:
string
type
type
:
"video"
|
"playlist"
|
"channel"
Optional
url
url
?:
string
Optional
verified
verified
?:
boolean
Methods
Private
_patch
_patch
(
data
:
any
)
:
void
Parameters
data:
any
Returns
void
iconURL
iconURL
(
options
?:
{
size
:
number
}
)
:
undefined
|
string
Returns channel icon url
Parameters
options:
{
size
:
number
}
= ...
Icon options
size
:
number
Returns
undefined
|
string
toJSON
toJSON
(
)
:
{
artist
:
undefined
|
boolean
;
iconURL
:
undefined
|
string
;
id
:
undefined
|
string
;
name
:
undefined
|
string
;
subscribers
:
undefined
|
string
;
type
:
"video"
|
"playlist"
|
"channel"
;
url
:
undefined
|
string
;
verified
:
undefined
|
boolean
}
Returns
{
artist
:
undefined
|
boolean
;
iconURL
:
undefined
|
string
;
id
:
undefined
|
string
;
name
:
undefined
|
string
;
subscribers
:
undefined
|
string
;
type
:
"video"
|
"playlist"
|
"channel"
;
url
:
undefined
|
string
;
verified
:
undefined
|
boolean
}
artist
:
undefined
|
boolean
iconURL
:
undefined
|
string
id
:
undefined
|
string
name
:
undefined
|
string
subscribers
:
undefined
|
string
type
:
"video"
|
"playlist"
|
"channel"
url
:
undefined
|
string
verified
:
undefined
|
boolean
to
String
to
String
(
)
:
string
Returns
string
Exports
<internal>
"node:stream/consumers"
"node:stream/promises"
Event
Emitter
internal
You
Tube
Channel
constructor
artist
icon
id
name
subscribers
type
url
verified
_patch
iconURL
toJSON
to
String
Generated using
TypeDoc
Class for YouTube Channel url