Variables
The following variables will be populated when this trigger executes:
Description | ||
---|---|---|
poll.Duration | int | The duration of the poll in seconds Example: 300 |
poll.DurationRemaining | int | The remaining time in milliseconds |
poll.Id | string | Twitch's internal id for the poll Example: f76ddfef-8654-4fd1-9dda-b377a73ed9ef |
poll.StartedAt | DateTime | The timestamp that the poll was created Example: 8/4/2023 10:56:06 AM |
poll.Title | string | The poll's title |
poll._json | string | All the variables in a JSON Object |
poll.choice#.id | string | The id of this choice Example: 64bb1179-3dc7-4bcd-8e46-201e3a84e6a6 |
poll.choice#.rewardVotes | int | 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 | int | The total number of votes for this choice Example: 17 |
poll.choice#.votes | int | The number of regular votes of this choice Example: 10 |
poll.choices.count | int | The number of choices in the poll Example: 3 |
poll.endedAt | DateTime | The timestamp when the poll has ended Example: 8/4/2023 10:56:06 AM |
poll.rewardVotes | int | The total number of reward based votes Example: 19 |
poll.totalVotes | int | The total number of votes Example: 49 |
poll.votes | int | The total number of regular votes Example: 30 |
poll.winningChoice.id | string | The id of the winning choice Example: 4629fc6c-06e0-4f59-8bb6-0f69fd1f552a |
poll.winningChoice.rewardVotes | int | The number of reward based votes from the winning choice Example: 10 |
poll.winningChoice.title | int | The title of the winning choice Example: Choice 2 |
poll.winningChoice.totalVotes | int | The total number of votes for the winning choice Example: 30 |
poll.winningChoice.votes | int | The number of regular votes from the winning choice Example: 20 |
poll.winningIndex | int | The index of the winning choice Example: 2 |