class TelegramBot::Models::Result(T)

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

[View source]

Instance Method Detail

def description : String | Nil #

[View source]
def description=(description : String | Nil) #

[View source]
def error_code : Int32 | Nil #

[View source]
def error_code=(error_code : Int32 | Nil) #

[View source]
def ok : Bool #

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

[View source]
def result : T | Nil #

[View source]
def result=(result : T | Nil) #

[View source]