class Tourmaline::Poll

Overview

This object contains information about a poll.

Included Modules

Defined in:

tourmaline/models/poll.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def allows_multiple_answers : Bool #

[View source]
def correct_option_id : Int32 | Nil #

[View source]
def id : String #

[View source]
def is_anonymous : Bool #

[View source]
def is_closed : Bool #

[View source]
def options : Array(PollOption) #

[View source]
def question : String #

[View source]
def total_voter_count : Int32 #

[View source]
def type : PollType #

[View source]