Class PollChoice.PollChoiceBuilder
java.lang.Object
com.github.twitch4j.eventsub.domain.PollChoice.PollChoiceBuilder
- Enclosing class:
- PollChoice
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Twitch no longer supports bits on polls.build()
channelPointsVotes
(@Nullable Integer channelPointsVotes) Number of votes received via Channel Points.ID for the choice.Text displayed for the choice.toString()
Total number of votes received for the choice across all methods of voting.
-
Method Details
-
id
ID for the choice.- Returns:
this
.
-
title
Text displayed for the choice. Maximum: 25 characters.- Returns:
this
.
-
votes
Total number of votes received for the choice across all methods of voting.- Returns:
this
.
-
channelPointsVotes
public PollChoice.PollChoiceBuilder channelPointsVotes(@Nullable @Nullable Integer channelPointsVotes) Number of votes received via Channel Points.- Returns:
this
.
-
bitsVotes
Deprecated.Twitch no longer supports bits on polls.Number of votes received via Bits.- Returns:
this
.
-
build
-
toString
-