Class PollOption
java.lang.Object
io.github.natanimn.telebof.types.updates.PollOption
- All Implemented Interfaces:
TelegramUpdate
This class contains information about one answer option in a poll.
- Since:
- 3 March 2025
- Author:
- Natanim
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringOption text, 1-100 charactersprivate List<MessageEntity> Special entities that appear in the option text.private IntegerNumber of users that voted for this option -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
text
Option text, 1-100 characters -
textEntities
Special entities that appear in the option text. Currently, only custom emoji entities are allowed in poll option texts -
voterCount
Number of users that voted for this option
-
-
Constructor Details
-
PollOption
public PollOption()
-
-
Method Details