RewardResource
class RewardResource
Twitch Helix Channel Points API resource.
Provides methods for managing custom rewards and redemptions.
See also
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getAllRedemptions(broadcasterId: String, rewardId: String, status: RedemptionStatus? = null, ids: List<String> = emptyList(), sort: RedemptionSort? = null): Flow<RewardRedemption>
Link copied to clipboard
suspend fun getRedemptions(broadcasterId: String, rewardId: String, status: RedemptionStatus? = null, ids: List<String> = emptyList(), sort: RedemptionSort? = null, cursor: String? = null, pageSize: Int? = null): Page<RewardRedemption>
Link copied to clipboard
suspend fun update(broadcasterId: String, rewardId: String, request: UpdateRewardRequest): CustomReward
Link copied to clipboard
suspend fun updateRedemptionStatus(broadcasterId: String, rewardId: String, redemptionId: String, status: RedemptionStatus): List<RewardRedemption>
Convenience overload that updates a single redemption's status.
suspend fun updateRedemptionStatus(broadcasterId: String, rewardId: String, redemptionIds: List<String>, status: RedemptionStatus): List<RewardRedemption>