class TelegramBot::Models::Poll

Overview

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

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#poll


[View source]

Instance Method Detail

def id : String #

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

[View source]
def is_closed : Bool #

[View source]
def is_closed=(is_closed : Bool) #

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

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

[View source]
def question : String #

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

[View source]