Poll Archived

Trigger for when a Twitch Poll has been archived
0.2.4
EventSub

Variables

The following variables will be populated when this trigger executes:

Description
poll.Durationint

The duration of the poll in seconds

Example: 300
poll.DurationRemainingint

The remaining time in milliseconds

poll.Idstring

Twitch's internal id for the poll

Example: f76ddfef-8654-4fd1-9dda-b377a73ed9ef
poll.StartedAtDateTime

The timestamp that the poll was created

Example: 8/4/2023 10:56:06 AM
poll.Titlestring

The poll's title

poll._jsonstring

All the variables in a JSON Object

poll.choice#.idstring

The id of this choice

Example: Choice 1
poll.choice#.rewardVotesint

The total number of reward based votes of this choice

Example: 7
poll.choice#.titlestring

The title of this choice

Example: Choice 1
poll.choice#.totalVotesint

The total number of votes for this choice

Example: 17
poll.choice#.votesint

The number of regular votes of this choice

Example: 10
poll.choices.countint

The number of choices in the poll

Example: 3
poll.endedAtDateTime

The timestamp that the poll has ended

Example: 8/4/2023 10:56:06 AM
poll.rewardVotesint

The total number of reward based votes

Example: 19
poll.totalVotesint

The total number of votes

Example: 49
poll.votesint

The total number of regular votes

Example: 30
poll.winningChoice.idstring

The id of the winning choice

poll.winningChoice.rewardVotesint

The number of reward based votes from the winning choice

Example: 10
poll.winningChoice.titleint

The title of the winning choice

Example: Choice 2
poll.winningChoice.totalVotesint

The total number votes from the winning choice

Example: 30
poll.winningChoice.votesint

The number of regular votes from the winning choice

Example: 20
poll.winningIndexint

The index of the winning choice

Example: 2