ChannelPointsCustomRewardAdd
data class ChannelPointsCustomRewardAdd(val subscriptionType: String, val messageId: String, val timestamp: Instant, val id: String, val broadcasterUserId: String, val broadcasterUserLogin: String, val broadcasterUserName: String, val isEnabled: Boolean, val isPaused: Boolean, val isInStock: Boolean, val title: String, val cost: Int, val prompt: String, val isUserInputRequired: Boolean, val shouldRedemptionsSkipRequestQueue: Boolean, val maxPerStream: MaxPerStreamSetting, val maxPerUserPerStream: MaxPerStreamSetting, val backgroundColor: String, val image: RewardImage?, val defaultImage: RewardImage, val globalCooldown: GlobalCooldownSetting, val cooldownExpiresAt: Instant?, val redemptionsRedeemedCurrentStream: Int?) : TwitchEvent
Constructors
Link copied to clipboard
constructor(subscriptionType: String, messageId: String, timestamp: Instant, id: String, broadcasterUserId: String, broadcasterUserLogin: String, broadcasterUserName: String, isEnabled: Boolean, isPaused: Boolean, isInStock: Boolean, title: String, cost: Int, prompt: String, isUserInputRequired: Boolean, shouldRedemptionsSkipRequestQueue: Boolean, maxPerStream: MaxPerStreamSetting, maxPerUserPerStream: MaxPerStreamSetting, backgroundColor: String, image: RewardImage?, defaultImage: RewardImage, globalCooldown: GlobalCooldownSetting, cooldownExpiresAt: Instant?, redemptionsRedeemedCurrentStream: Int?)
Properties
Link copied to clipboard
the reward background color.
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
RFC3339 timestamp of when the cooldown expires; null if not on cooldown.
Link copied to clipboard
the default image URLs.
Link copied to clipboard
global cooldown settings.
Link copied to clipboard
the reward image URLs.
Link copied to clipboard
whether user input is required.
Link copied to clipboard
max per stream settings.
Link copied to clipboard
max per user per stream settings.
Link copied to clipboard
number of redemptions in the current stream; null if not live.
Link copied to clipboard
whether redemptions skip the request queue.
Link copied to clipboard
The EventSub subscription type string (e.g. channel.follow).