Tourmaline::PollOption
Inherits JSON::Serializable < Reference < Object
This object contains information about one answer option in a poll.
Constructors
new(text : String, voter_count : Int32 | Int64, text_entities : Array(Tourmaline::MessageEntity) = [] of Tourmaline::MessageEntity)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
text_entities
Optional. Special entities that appear in the option text. Currently, only custom emoji entities are allowed in poll option texts
Optional. Special entities that appear in the option text. Currently, only custom emoji entities are allowed in poll option texts