Channel Reward

C# Methods for Twitch > Channel Reward

DisableReward

public void DisableReward(string rewardId)

EnableReward

public void EnableReward(string rewardId)

PauseReward

public void PauseReward(string rewardId)

TwitchGetChannelPointsUsedByUserId

public long TwitchGetChannelPointsUsedByUserId(string userId)

TwitchGetRewardCounter

public TwitchRewardCounter TwitchGetRewardCounter(string rewardId, bool persisted = true)

TwitchGetRewards

public List<TwitchReward> TwitchGetRewards()

TwitchGetRewardUserCounter

public TwitchRewardCounter TwitchGetRewardUserCounter(string userLogin, string rewardId, bool persisted = true)

TwitchGetRewardUserCounterById

public TwitchRewardCounter TwitchGetRewardUserCounterById(string userId, string rewardId, bool persisted = true)

TwitchRedemptionCancel

public bool TwitchRedemptionCancel(string rewardId, string redemptionId)

TwitchRedemptionFulfill

public bool TwitchRedemptionFulfill(string rewardId, string redemptionId)

TwitchResetRewardCounter

public void TwitchResetRewardCounter(string rewardId)

TwitchResetRewardUserCounters

public void TwitchResetRewardUserCounters(string rewardId)

TwitchResetUserRewardCounter

public void TwitchResetUserRewardCounter(string rewardId, string userId)

TwitchResetUserRewardCounters

public void TwitchResetUserRewardCounters(string userId, bool persisted)

TwitchRewardGroupDisable

public void TwitchRewardGroupDisable(string groupName)

TwitchRewardGroupEnable

public void TwitchRewardGroupEnable(string groupName)

TwitchRewardGroupPause

public void TwitchRewardGroupPause(string groupName)

TwitchRewardGroupToggleEnable

public void TwitchRewardGroupToggleEnable(string groupName)

TwitchRewardGroupTogglePause

public void TwitchRewardGroupTogglePause(string groupName)

TwitchRewardGroupUnPause

public void TwitchRewardGroupUnPause(string groupName)

UnPauseReward

public void UnPauseReward(string rewardId)

UpdateReward

public bool UpdateReward(string rewardId, string title, string prompt, Int32? cost, string backroundColor)

UpdateRewardBackgroundColor

public bool UpdateRewardBackgroundColor(string rewardId, string backgroundColor)

UpdateRewardCooldown

public void UpdateRewardCooldown(string rewardId, long cooldown, bool additive = false)

UpdateRewardCost

public void UpdateRewardCost(string rewardId, int cost, bool additive = false)

UpdateRewardPrompt

public bool UpdateRewardPrompt(string rewardId, string prompt)

UpdateRewardTitle

public bool UpdateRewardTitle(string rewardId, string title)