Channel Reward
DisableReward
public void DisableReward(string rewardId)
EnableReward
public void EnableReward(string rewardId)
PauseReward
public void PauseReward(string rewardId)
TwitchGetChannelPointsUsedByUserId
Get the amount of channel points used by a user. Tracks only the redeems that Streamer.bot has seen.
public long TwitchGetChannelPointsUsedByUserId(string userId)
TwitchGetRewardCounter
Get the counter of a Twitch reward, by id
public TwitchRewardCounter TwitchGetRewardCounter(string rewardId, bool persisted = true)
TwitchGetRewards
Returns a list of Twitch Reward
public List<TwitchReward> TwitchGetRewards()
TwitchGetRewardUserCounter
Returns reward count of the given reward for a specified Twitch user
public TwitchRewardCounter TwitchGetRewardUserCounter(string userLogin, string rewardId, bool persisted = true)
TwitchGetRewardUserCounterById
Returns reward count of the given reward for a specified Twitch user, by id
public TwitchRewardCounter TwitchGetRewardUserCounterById(string userId, string rewardId, bool persisted = true)
TwitchRedemptionCancel
Will refund the Twitch reward and removing it from the reward queue
public bool TwitchRedemptionCancel(string rewardId, string redemptionId)
TwitchRedemptionFulfill
Mark Twitch reward as resolved, which makes the redeem non refundable and removes it from reward queue
public bool TwitchRedemptionFulfill(string rewardId, string redemptionId)
TwitchResetRewardCounter
Reset counter for the specified reward, by id
public void TwitchResetRewardCounter(string rewardId)
TwitchResetRewardUserCounters
Reset reward user counters for the specified reward, by id
public void TwitchResetRewardUserCounters(string rewardId)
TwitchResetUserRewardCounter
Reset user reward counters for the specified reward id and user Id
public void TwitchResetUserRewardCounter(string rewardId, string userId)
TwitchResetUserRewardCounters
Reset all user reward counters for the specified user, by id
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)
UpdateRewardMaxPerStream
Updates the total maximum amount of redemptions per stream for the specified reward
public void UpdateRewardMaxPerStream(string rewardId, long redeems, bool additive = false)
UpdateRewardMaxPerUserPerStream
Updates the total maximum amount of redemptions per stream, per user, for the specified reward
public void UpdateRewardMaxPerUserPerStream(string rewardId, long redeems, bool additive = false)
UpdateRewardPrompt
public bool UpdateRewardPrompt(string rewardId, string prompt)
UpdateRewardTitle
public bool UpdateRewardTitle(string rewardId, string title)