ChannelPointsRedemptionUpdate

data class ChannelPointsRedemptionUpdate(val subscriptionType: String, val messageId: String, val timestamp: Instant, val id: String, val broadcasterUserId: String, val broadcasterUserLogin: String, val broadcasterUserName: String, val userId: String, val userLogin: String, val userName: String, val userInput: String, val status: String, val reward: ChannelPointsReward, val redeemedAt: Instant) : TwitchEvent

Twitch EventSub: channel.channel_points_custom_reward_redemption.update

Constructors

Link copied to clipboard
constructor(subscriptionType: String, messageId: String, timestamp: Instant, id: String, broadcasterUserId: String, broadcasterUserLogin: String, broadcasterUserName: String, userId: String, userLogin: String, userName: String, userInput: String, status: String, reward: ChannelPointsReward, redeemedAt: Instant)

Properties

Link copied to clipboard

the ID of the channel where the reward was redeemed.

Link copied to clipboard

the login of the channel where the reward was redeemed.

Link copied to clipboard

the display name of the channel where the reward was redeemed.

Link copied to clipboard
val id: String

the redemption identifier.

Link copied to clipboard
open override val messageId: String

Unique ID for this EventSub message.

Link copied to clipboard

RFC3339 timestamp of when the reward was redeemed.

Link copied to clipboard

the reward details including id, title, cost, and prompt.

Link copied to clipboard

the updated redemption status: fulfilled or canceled.

Link copied to clipboard
open override val subscriptionType: String

The EventSub subscription type string (e.g. channel.follow).

Link copied to clipboard
open override val timestamp: Instant

The Instant when the EventSub notification was sent, parsed from ISO-8601.

Link copied to clipboard

the ID of the user who redeemed the reward.

Link copied to clipboard

the user input provided when redeeming the reward. Empty string if not required.

Link copied to clipboard

the login of the user who redeemed the reward.

Link copied to clipboard

the display name of the user who redeemed the reward.