Class InputPollOption
java.lang.Object
io.github.natanimn.telebof.types.input.InputPollOption
- All Implemented Interfaces:
Serializable
This object contains information about one answer option in a poll to be sent.
- Since:
- 3 March 2025
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontextEntities
(MessageEntity[] text_entities) OptionaltextParseMode
(ParseMode text_parse_mode) Optional
-
Constructor Details
-
InputPollOption
-
-
Method Details
-
textParseMode
Optional- Parameters:
text_parse_mode
- Mode for parsing entities in the text- Returns:
InputPollOption
-
textEntities
Optional- Parameters:
text_entities
- A JSON-serialized list of special entities that appear in the poll option text. It can be specified instead oftextParseMode(ParseMode)
- Returns:
InputPollOption
-