Tourmaline::InputPollOption
Inherits JSON::Serializable < Reference < Object
This object contains information about one answer option in a poll to be sent.
Constructors
new(pull : JSON::PullParser)
Sourcenew(text : String, text_parse_mode : String | Nil = nil, text_entities : Array(Tourmaline::MessageEntity) = [] of Tourmaline::MessageEntity)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
text_entities
Optional. A JSON-serialized list of special entities that appear in the poll option text. It can be specified instead of text_parse_mode
Optional. A JSON-serialized list of special entities that appear in the poll option text. It can be specified instead of text_parse_mode
text_parse_mode
Optional. Mode for parsing entities in the text. See formatting options for more details. Currently, only custom emoji entities are allowed