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)
#
(pull : JSON::PullParser)
Methods#
#allows_multiple_answers : Bool
#
: Bool
#correct_option_id : Int32?
#
: Int32?
#explanation_entities : Array(Tourmaline::MessageEntity)
#
: Array(Tourmaline::MessageEntity)
#id : String
#
: String
#is_anonymous : Bool
#
: Bool
#is_closed : Bool
#
: Bool
#options : Array(PollOption)
#
: Array(PollOption)
#question : String
#
: String
#total_voter_count : Int32
#
: Int32
#type : Type
#
: Type