CreateRewardRequest
@Serializable
Constructors
Link copied to clipboard
constructor(title: String, cost: Int, prompt: String? = null, isEnabled: Boolean? = null, backgroundColor: String? = null, isUserInputRequired: Boolean? = null, isMaxPerStreamEnabled: Boolean? = null, maxPerStream: Int? = null, isMaxPerUserPerStreamEnabled: Boolean? = null, maxPerUserPerStream: Int? = null, isGlobalCooldownEnabled: Boolean? = null, globalCooldownSeconds: Int? = null, shouldRedemptionsSkipRequestQueue: Boolean? = null)
Properties
Link copied to clipboard
the background color of the reward in hex format (e.g., #FA1ED2).
Link copied to clipboard
the cooldown period in seconds.
Link copied to clipboard
whether to apply a cooldown period between redemptions.
Link copied to clipboard
whether to limit the maximum number of redemptions per live stream.
Link copied to clipboard
whether to limit the maximum number of redemptions per user per stream.
Link copied to clipboard
whether the user must enter information when redeeming the reward.
Link copied to clipboard
the maximum number of redemptions allowed per live stream.
Link copied to clipboard
the maximum number of redemptions allowed per user per stream.
Link copied to clipboard
@SerialName(value = "should_redemptions_skip_request_queue")
whether redemptions are automatically set to FULFILLED rather than entering the request queue.