DisableReward

Disable a Twitch Channel Point Reward, owned by Streamer.bot

Signature

public void DisableReward(string rewardId)

Parameters

rewardId
string required

Id of your reward. Available by right-clicking your reward under Platforms > Twitch > Channel Point Rewards

Return Type

void

Example

using System;
public class CPHInline
{
    public bool Execute()
    {
        //Get current rewardId
        CPH.TryGetArg("rewardId",out string rewardId);

        //Disable Reward
        CPH.DisableReward(rewardId);         return true;
    }
}