Class PollOption

java.lang.Object
io.github.natanimn.telebof.types.updates.PollOption
All Implemented Interfaces:
TelegramUpdate

public class PollOption extends Object implements TelegramUpdate
This class contains information about one answer option in a poll.
Since:
3 March 2025
  • Field Details

    • text

      public String text
      Option text, 1-100 characters
    • text_entities

      public List<MessageEntity> text_entities
      Special entities that appear in the option text. Currently, only custom emoji entities are allowed in poll option texts
    • voter_count

      public Integer voter_count
      Number of users that voted for this option
  • Constructor Details

    • PollOption

      public PollOption()
  • Method Details