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)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
clone
Sourcecopy_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)
Sourcefile_id
file_size
file_unique_id
height
width