Class ChannelPollEvent
java.lang.Object
com.github.twitch4j.eventsub.events.EventSubEvent
com.github.twitch4j.eventsub.events.EventSubChannelEvent
com.github.twitch4j.eventsub.events.ChannelPollEvent
- Direct Known Subclasses:
ChannelPollBeginEvent,ChannelPollEndEvent,ChannelPollProgressEvent
public abstract class ChannelPollEvent extends EventSubChannelEvent
-
Constructor Summary
Constructors Constructor Description ChannelPollEvent() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)BitsVotinggetBitsVoting()The Bits voting settings for the poll.ChannelPointsVotinggetChannelPointsVoting()The Channel Points voting settings for the poll.java.util.List<PollChoice>getChoices()Choices for the poll.java.lang.StringgetPollId()ID of the poll.java.time.InstantgetStartedAt()The time the poll started.java.lang.StringgetTitle()Question displayed for the poll.inthashCode()java.lang.StringtoString()Methods inherited from class com.github.twitch4j.eventsub.events.EventSubChannelEvent
getBroadcasterUserId, getBroadcasterUserLogin, getBroadcasterUserNameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ChannelPollEvent
public ChannelPollEvent()
-
-
Method Details
-
getPollId
public java.lang.String getPollId()ID of the poll. -
getTitle
public java.lang.String getTitle()Question displayed for the poll. -
getChoices
Choices for the poll. -
getBitsVoting
The Bits voting settings for the poll. -
getChannelPointsVoting
The Channel Points voting settings for the poll. -
getStartedAt
public java.time.Instant getStartedAt()The time the poll started. -
toString
public java.lang.String toString()- Overrides:
toStringin classEventSubChannelEvent
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classEventSubChannelEvent
-
canEqual
protected boolean canEqual(java.lang.Object other)- Overrides:
canEqualin classEventSubChannelEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classEventSubChannelEvent
-