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

EventSubChannelSubscriptionEndEvent

An EventSub event representing the end of a channel subscription.

Overview

Properties

broadcasterDisplayName

Type: string

The display name of the broadcaster.

broadcasterId

Type: string

The ID of the broadcaster.

broadcasterName

Type: string

The name of the broadcaster.

isGift

Type: boolean

Whether the subscription has been gifted.

tier

Type:
EventSubChannelSubscriptionEndEventTier

The tier of a subscription. 1000 means tier 1, and so on.

Aliased type: "1000" | "2000" | "3000"

The tier of the subscription, either 1000, 2000 or 3000.

userDisplayName

Type: string

The display name of the user whose subscription is ending.

userId

Type: string

The ID of the user whose subscription is ending.

userName

Type: string

The name of the user whose subscription is ending.

Methods

getBroadcaster()

async

Retrieves more information about the broadcaster.

Return type: HelixUser

getUser()

async

Retrieves more information about the user whose subscription is ending.

Return type: HelixUser