ChannelPointsAutomaticRedemptionAdd

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

Twitch EventSub: channel.channel_points_automatic_reward_redemption.add

Constructors

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

Properties

Link copied to clipboard

the broadcaster's user ID.

Link copied to clipboard

the broadcaster's login.

Link copied to clipboard

the broadcaster's display name.

Link copied to clipboard
val id: String

the redemption ID.

Link copied to clipboard

the user message if applicable.

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 automatic reward details.

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 user ID of the user who redeemed the automatic reward.

Link copied to clipboard

the user input text if applicable.

Link copied to clipboard

the login of the user who redeemed the automatic reward.

Link copied to clipboard

the display name of the user who redeemed the automatic reward.