Create Poll
Create a Twitch poll

Create Poll Dialog
Parameters
Title
String required
the poll's title
Choices
String required
Poll choices (min. 2, max. 5)
Channel Points Per Vote
Int
Set Channel Points for extra votes
Duration
Int
Set poll duration in seconds
Variables
Name | Type | Description |
---|---|---|
Example Value: 6bac1033-996d-4798-a688-b4df93434d6f the ID of the poll | ||
Example Value: True/False indicator whether the poll has been created successfully or not |
C# Usage
public bool TwitchPollCreate(string title, List<string> choices, int duration, int channelPointsPerVote = 0)
CPH.TwitchPollCreate(title, choices, duration);
CPH.TwitchPollCreate(title, choices, duration, channelPointsPerVote);