struct

Telegram::PhotoSize

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: PhotoSize This object represents one size of a photo or a file / sticker thumbnail.

Constructors

new(file_id : String, file_unique_id : String, width : Int64, height : Int64, file_size : Int64 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(file_id _file_id = @file_id, file_unique_id _file_unique_id = @file_unique_id, width _width = @width, height _height = @height, file_size _file_size = @file_size)
Source
file_id
file_size
file_unique_id
height
width