TwurpleAuthenticationGetting dataExamplesFAQMigration

Main classes

HelixScheduleSegment

A segment of a schedule.

Overview

Properties

cancelEndDate

Type: Date | null

The date up to which the segment is canceled.

categoryId

Type: string | null

The ID of the category the segment is scheduled for, or null if no category is specified.

categoryName

Type: string | null

The name of the category the segment is scheduled for, or null if no category is specified.

endDate

Type: Date

The date when the segment ends.

id

Type: string

The ID of the segment.

isRecurring

Type: boolean

Whether the segment is recurring every week.

startDate

Type: Date

The date when the segment starts.

title

Type: string

The title of the segment.

Methods

getCategory()

async

Gets more information about the category the segment is scheduled for, or null if no category is specified.

Return type: HelixGame | null