TwurpleAuthenticationGetting dataExamplesFAQMigration

Main classes

HelixCustomRewardRedemption

A redemption of a custom Channel Points reward.

Overview

Properties

broadcasterDisplayName

Type: string

The display name of the broadcaster where the reward was redeemed.

broadcasterId

Type: string

The ID of the broadcaster where the reward was redeemed.

broadcasterName

Type: string

The name of the broadcaster where the reward was redeemed.

id

Type: string

The ID of the redemption.

isCanceled

Type: boolean

Whether the redemption was canceled.

isFulfilled

Type: boolean

Whether the redemption was fulfilled.

redemptionDate

Type: Date

The date and time when the reward was redeemed.

rewardCost

Type: number

The cost of the reward that was redeemed.

rewardId

Type: string

The ID of the reward that was redeemed.

rewardPrompt

Type: string

The prompt of the reward that was redeemed.

rewardTitle

Type: string

The title of the reward that was redeemed.

userDisplayName

Type: string

The display name of the user that redeemed the reward.

userId

Type: string

The ID of the user that redeemed the reward.

userInput

Type: string

The text the user wrote when redeeming the reward.

userName

Type: string

The name of the user that redeemed the reward.

Methods

getBroadcaster()

async

Gets more information about the broadcaster where the reward was redeemed.

Return type: HelixUser

getReward()

async

Gets more information about the reward that was redeemed.

Return type: HelixCustomReward

getUser()

async

Gets more information about the user that redeemed the reward.

Return type: HelixUser

updateStatus(newStatus)

async

Updates the redemption's status.

ParameterTypeRequiredDefaultDescription
newStatus
HelixCustomRewardRedemptionTargetStatus

The possible statuses of a custom Channel Points reward redemption you can set.

Aliased type: "FULFILLED" | "CANCELED"

none

The status the redemption should have.