Class PollOption
java.lang.Object
io.micronaut.chatbots.telegram.api.PollOption
This object contains information about one answer option in a poll.
- See Also:
-
Constructor Details
-
PollOption
public PollOption()
-
-
Method Details
-
getText
- Returns:
- Option text, 1-100 characters.
-
setText
- Parameters:
text- Option text, 1-100 characters.
-
getVoterCount
- Returns:
- Number of users that voted for this option
-
setVoterCount
- Parameters:
voterCount- Number of users that voted for this option
-
toString
-