TwurpleAuthenticationGetting dataExamplesFAQMigration

CommunityPayForwardEvent

An event representing a user gifting a subscription to the community of a channel in response to getting one gifted.

Overview

Properties

broadcasterId

Type: string

The ID of the broadcaster.

broadcasterName

Type: string

The name of the broadcaster.

gifterDisplayName

Type: string

The display name of the user who sent the new gift.

gifterId

Type: string

The ID of the user who sent the new gift.

gifterName

Type: string

The name of the user who sent the new gift.

originalGifterDisplayName

Type: string | null

The display name of the user who sent the original gift, or null if they were anonymous.

originalGifterId

Type: string | null

The ID of the user who sent the original gift, or null if they were anonymous.

Methods

getBroadcaster()

async

Gets more information about the broadcaster.

Return type: HelixUser

getGifter()

async

Gets more information about the user who sent the new gift.

Return type: HelixUser

getOriginalGifter()

async

Gets more information about the user who sent the original gift, or null if they were anonymous.

Return type: HelixUser | null