Class PollAnswer

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

public class PollAnswer extends Object implements TelegramUpdate
This object represents an answer of a user in a non-anonymous poll.
Since:
3 March 2025
  • Field Details

    • poll_id

      public String poll_id
      Unique poll identifier
    • user

      public User user
      The user that changed the answer to the poll, if the voter isn't anonymous
    • options_id

      public List<Integer> options_id
      0-based identifiers of chosen answer options. May be empty if the vote was retracted.
    • voter_chat

      public Chat voter_chat
      The chat that changed the answer to the poll, if the voter is anonymous
  • Constructor Details

    • PollAnswer

      public PollAnswer()
  • Method Details