TwurpleAuthenticationGetting dataExamplesFAQMigration

Main classes

HelixEventSubSubscription

An EventSub subscription.

Overview

Properties

condition

Type: Record<string, unknown>

The condition of the subscription.

cost

Type: number

The cost of the subscription.

creationDate

Type: Date

The date and time of creation of the subscription.

id

Type: string

The ID of the subscription.

status

Type: HelixEventSubSubscriptionStatus

The status of the subscription.

transportMethod

Type: string

The transport method of the subscription.

type

Type: string

The event type that the subscription is listening to.

Methods

unsubscribe()

async

End the EventSub subscription.

Return type: void