twitcheasy-twitch-bottwitch-authtwitch-auth-tmitwitch-chat-clienttwitch-eventsubtwitch-pubsub-clienttwitch-webhooks
Welcome

HelixVideo

A video on Twitch.

Overview

Properties

creationDate

Type: Date

The date when the video was created.

description

Type: string

The description of the video.

duration

Type: string

The duration of the video, as formatted by Twitch.

durationInSeconds

Type: number

The duration of the video, in seconds.

id

Type: string

The ID of the video.

isPublic

Type: boolean

Whether the video is public or not.

language

Type: string

The language of the video.

publishDate

Type: Date

The date when the video was published.

thumbnailUrl

Type: string

The URL of the thumbnail of the video.

title

Type: string

The title of the video.

type

Type:
HelixVideoType

Aliased type: "upload" | "archive" | "highlight"

The type of the video.

url

Type: string

The URL of the video.

userDisplayName

Type: string

The display name of the user who created the video.

userId

Type: string

The ID of the user who created the video.

userName

Type: string

The name of the user who created the video.

views

Type: number

The number of views of the video.

Methods

getUser()

async

Retrieves information about the user who created the video.

Return type: HelixUser | null