class Tourmaline::Poll

Overview

This object contains information about a poll.

Included Modules

Defined in:

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

Instance Method Detail

def allows_multiple_answers : Bool #

def correct_option_id : Int32? #

def explanation_entities : Array(Tourmaline::MessageEntity) #

def id : String #

def is_anonymous : Bool #

def is_closed : Bool #

def options : Array(PollOption) #

def question : String #

def total_voter_count : Int32 #

def type : Type #