class TelegramBot::PhotoSize

Included Modules

Defined in:

telegram_bot/types/photo_size.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(pull : 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 file_unique_id : String #

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

[View source]
def height : Int32 #

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

[View source]
def width : Int32 #

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

[View source]