Skip to content

class Tourmaline::Poll
inherits Reference #

This object contains information about a poll.

Included modules

JSON::Serializable Tourmaline::Model

Class methods#

.new(pull : JSON::PullParser) #

View source

Methods#

#allows_multiple_answers : Bool #

View source

#correct_option_id : Int32? #

View source

#explanation_entities : Array(Tourmaline::MessageEntity) #

View source

#is_anonymous : Bool #

View source

#is_closed : Bool #

View source

#options : Array(PollOption) #

View source

#question : String #

View source

#total_voter_count : Int32 #

View source

#type : Type #

View source