class Tourmaline::InputPollOption
inherits Reference
#
This object contains information about one answer option in a poll to send.
Included modules
JSON::Serializable
Constructors#
.new(text, text_parse_mode : String? = nil, text_entities : Array(Tourmaline::MessageEntity) = [] of Tourmaline::MessageEntity)
#
(text, text_parse_mode : String? = nil, text_entities : Array(Tourmaline::MessageEntity) = [] of Tourmaline::MessageEntity)
Methods#
#text_entities : Array(Tourmaline::MessageEntity)
#
: Array(Tourmaline::MessageEntity)
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_entities=(text_entities : Array(Tourmaline::MessageEntity))
#
(text_entities : Array(Tourmaline::MessageEntity))
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 : String?
#
: String?
Optional. Mode for parsing entities in the text. See formatting options for more details. Currently, only custom emoji entities are allowed
#text_parse_mode=(text_parse_mode : String?)
#
(text_parse_mode : String?)
Optional. Mode for parsing entities in the text. See formatting options for more details. Currently, only custom emoji entities are allowed