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

HelixSubscription

A (paid) subscription of a user to a broadcaster.

Overview

Properties

broadcasterDisplayName

Type: string

The display name of the broadcaster.

broadcasterId

Type: string

The user ID of the broadcaster.

broadcasterName

Type: string

The name of the broadcaster.

giftName

Type: string

The display name of the gifter.

gifterId

Type: string

The user ID of the gifter.

gifterName

Type: string

The name of the gifter.

isGift

Type: boolean

Whether the subscription has been gifted by another user.

tier

Type: string

The tier of the subscription.

userDisplayName

Type: string

The display name of the subscribed user.

userId

Type: string

The user ID of the subscribed user.

userName

Type: string

The name of the subscribed user.

Methods

getBroadcaster()

async

Retrieves more information about the broadcaster.

Return type: HelixUser | null

getGifter()

async

Retrieves more information about the gifter.

Return type: HelixUser | null

getUser()

async

Retrieves more information about the subscribed user.

Return type: HelixUser | null