class Tourmaline::PollOption

Overview

This object contains information about one answer option in a poll.

Included Modules

Defined in:

tourmaline/models/poll_option.cr

Constructors

Instance Method Summary

Instance methods inherited from module Tourmaline::Model

client : Tourmaline::Client client, client=(client : Tourmaline::Client) client=, client? : Tourmaline::Client | Nil client?, finish_init(client : Tourmaline::Client) finish_init

Constructor Detail

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

[View source]

Instance Method Detail

def text : String #

[View source]
def voter_count : Int32 #

[View source]