Variables
The following variables will be populated when this trigger executes:
Description | ||
---|---|---|
poll.Duration | number | The duration of the poll in seconds Example: 300 |
poll.DurationRemaining | number | How many seconds the poll has remaining Example: 300 |
poll.Id | string | Twitch's internal id for the poll |
poll.StartedAt | DateTime | The timestamp that the poll was created Example: 8/4/2023 10:56:06 AM |
poll._json | string | All the variables in a JSON Object |
poll.choice#.rewardVotes | number | The total number of reward based votes of this choice Example: 7 |
poll.choice#.title | string | The title of this choice Example: Choice 1 |
poll.choice#.totalVotes | number | The total number of votes for this choice Example: 17 |
poll.choice#.votes | number | The number of regular votes of this choice Example: 10 |
poll.choices.count | number | The number of choices in the poll Example: 3 |
poll.rewardVotes | number | The total number of reward based votes Example: 19 |
poll.totalVotes | number | The total number of votes Example: 49 |
poll.votes | number | The total number of regular votes Example: 30 |