Class PowerUpReward
java.lang.Object
com.gmt2001.twitch.eventsub.subscriptions.channel.power_ups.redemption.PowerUpReward
Basic information about the reward that was redeemed, at the time it was redeemed.
- Author:
- gmt2001
-
Constructor Summary
ConstructorsConstructorDescriptionPowerUpReward(String id) ConstructorPowerUpReward(JSONObject data) Constructor -
Method Summary
-
Constructor Details
-
PowerUpReward
Constructor- Parameters:
data- Input data from the event
-
PowerUpReward
Constructor- Parameters:
id- The reward id
-
-
Method Details
-
id
The reward identifier.- Returns:
-
title
The reward name.- Returns:
-
bits
public int bits()The reward cost in bits.- Returns:
-
prompt
The reward description.- Returns:
-