EnableReward

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

Signature

public void EnableReward(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()
    {
        //Define reward id you want to enable
        string rewardId = "4fcc2d13-9bcf-4c18-9d91-821a15f4b6e5";

        CPH.EnableReward(rewardId);         return true;
    }
}