Photo Size

class bale.PhotoSize(file_id, file_unique_id, width, height, file_size)

Bases: BaseFile

This object represents one size of a photo or a file/sticker thumbnail.

file_id

Identifier for this photo file, which can be used to download or reuse the file.

Type:

str

file_unique_id

Unique file identifier of thumbnail file.

Type:

str

width

photo width.

Type:

int

height

photo height.

Type:

str

file_size

photo file size in bytes.

Type:

Optional[int]