Class PollOption
- java.lang.Object
-
- org.telegram.telegrambots.meta.api.objects.polls.PollOption
-
- All Implemented Interfaces:
Serializable,BotApiObject
public class PollOption extends Object implements BotApiObject
- Version:
- 4.2 This object contains information about one answer option in a poll.
- Author:
- Ruben Bermudez
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PollOption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetText()IntegergetVoterCount()voidsetText(String text)voidsetVoterCount(Integer voterCount)StringtoString()
-