UpdateRewardMaxPerUserPerStream
Updates the total maximum amount of redemptions per stream, per user, for the specified reward
Signature
public void UpdateRewardMaxPerUserPerStream(string rewardId, long redeems, bool additive = false)
Parameters
rewardId
string required
Id of your reward. Available by right-clicking your reward under Platforms > Twitch > Channel Point Rewards
redeems
long required
Amount of maximum redemptions per stream
additive
bool
Default:
False
true- Will add the value ofredeemsparameter to the current amount of max redeems per userfalse- Will set the current amount of max redeems per user to the value ofredeemsparameter
Return Type
void
Example
CPH.UpdateRewardMaxPerUserPerStream(rewardId, redeems);
CPH.UpdateRewardMaxPerUserPerStream(rewardId, redeems, additive);