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

EventSubChannelSubscriptionGiftEvent

An EventSub event representing a channel subscription.

Overview

Properties

amount

Type: number

The amount of gifts that were gifted.

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.

cumulativeAmount

Type: number | null

The amount of gifts that the gifter has sent in total, or null the gift is anonymous.

gifterDisplayName

Type: string

The display name of the gifting user.

gifterId

Type: string

The ID of the gifting user.

gifterName

Type: string

The name of the gifting user.

isAnonymous

Type: boolean

Whether the gift is anonymous.

tier

Type:
EventSubChannelSubscriptionGiftEventTier

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

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

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

Methods

getBroadcaster()

async

Retrieves more information about the broadcaster.

Return type: HelixUser

getGifter()

async

Retrieves more information about the gifting user.

Return type: HelixUser