TwurpleAuthenticationGetting dataExamplesFAQMigration

Main classes

HelixCreatePollData

Data to create a new poll.

{
The number of channel points that a vote should cost. If not given, voting with channel points will be disabled.
The available choices for the poll.
choices: string[]
The duration of the poll, in seconds.
duration: number
The title of the poll.
title: string
}

Properties

channelPointsPerVote

Type: ?number

The number of channel points that a vote should cost. If not given, voting with channel points will be disabled.

choices

Type: string[]

The available choices for the poll.

duration

Type: number

The duration of the poll, in seconds.

title

Type: string

The title of the poll.