Skip to content

Poll

class Tourmaline::Poll
inherits Reference #

This object contains information about a poll.

Included modules#

JSON::Serializable Tourmaline::Model

Class methods#

.new(pull : JSON::PullParser) #

Methods#

#allows_multiple_answers : Bool #

#correct_option_id : Int32? #

#explanation_entities : Array(Tourmaline::MessageEntity) #

#id : String #

#is_anonymous : Bool #

#is_closed : Bool #

#options : Array(PollOption) #

#question : String #

#total_voter_count : Int32 #

#type : Type #