class TelegramBot::Models::PollOption

Overview

https://core.telegram.org/bots/api#polloption

Defined in:

telegram_bot/models.cr

Constructors

Instance Method Summary

Constructor methods inherited from class TelegramBot::Models::Base

new(pull : JSON::PullParser) new

Constructor Detail

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

https://core.telegram.org/bots/api#polloption


[View source]

Instance Method Detail

def text : String #

[View source]
def text=(text : String) #

[View source]
def voter_count : Int32 #

[View source]
def voter_count=(voter_count : Int32) #

[View source]