@iamtraction/play-dl
    Preparing search index...

    Class YouTubeChannel

    YouTube Channel Class

    Index
    artist?: boolean

    YouTube Channel artist if any.

    collaborators?: ChannelCollaborator[]

    All channels credited on a collaboration video/playlist.

    Only present when YouTube credits more than one channel. For single-channel content this is undefined and YouTubeChannel.id, YouTubeChannel.name and YouTubeChannel.url reference the sole channel.

    YouTube Channel Icons data.

    id?: string

    YouTube Channel ID.

    name?: string

    YouTube Channel Title

    subscribers?: string

    YouTube Channel subscribers count.

    type: "video" | "playlist" | "channel"

    YouTube Class type. == "channel"

    url?: string

    YouTube Channel Url

    verified?: boolean

    YouTube Channel Verified status.

    • Returns channel icon url

      Parameters

      • options: { size: number } = ...

        Icon options

        • size: number

          Icon size. Default is 0

      Returns string | undefined