class TelegramBot::PhotoSize

Defined in:

telegram_bot/types/photo_size.cr

Constant Summary

FIELDS = {file_id: String, width: Int32, height: Int32, file_size: {type: Int32, nilable: true}}

Constructors

Instance Method Summary

Constructor Detail

def self.new(file_id : String, width : Int32, height : Int32, file_size : Int32 | Nil = nil) #

[View source]
def self.new(__temp_899 : JSON::PullParser) #

[View source]

Instance Method Detail

def file_id : String #

[View source]
def file_id=(_file_id : String) #

[View source]
def file_size : Int32 | Nil #

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

[View source]
def height : Int32 #

[View source]
def height=(_height : Int32) #

[View source]
def to_json(json : JSON::Builder) #

[View source]
def width : Int32 #

[View source]
def width=(_width : Int32) #

[View source]