class TelegramBot::Models::PhotoSize

Overview

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

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


[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]