class Tourmaline::PollOption
inherits Reference
#
This object contains information about one answer option in a poll.
Included modules
JSON::Serializable
Constructors#
.new(text, voter_count, text_entities : Array(Tourmaline::MessageEntity) = [] of Tourmaline::MessageEntity)
#
(text, voter_count, text_entities : Array(Tourmaline::MessageEntity) = [] of Tourmaline::MessageEntity)
Methods#
#text_entities : Array(Tourmaline::MessageEntity)
#
: Array(Tourmaline::MessageEntity)
Optional. Special entities that appear in the option text. Currently, only custom emoji entities are allowed in poll option texts
#text_entities=(text_entities : Array(Tourmaline::MessageEntity))
#
(text_entities : Array(Tourmaline::MessageEntity))
Optional. Special entities that appear in the option text. Currently, only custom emoji entities are allowed in poll option texts