Class ChannelPollEvent

java.lang.Object
Direct Known Subclasses:
ChannelPollBeginEvent, ChannelPollEndEvent, ChannelPollProgressEvent

public abstract class ChannelPollEvent
extends EventSubChannelEvent
  • 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

      public java.util.List<PollChoice> getChoices()
      Choices for the poll.
    • getBitsVoting

      public BitsVoting getBitsVoting()
      The Bits voting settings for the poll.
    • getChannelPointsVoting

      public ChannelPointsVoting 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:
      toString in class EventSubChannelEvent
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class EventSubChannelEvent
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
      Overrides:
      canEqual in class EventSubChannelEvent
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class EventSubChannelEvent