PhotoSize

class pyrogram.raw.types.PhotoSize

Image description.

Constructor of PhotoSize.

Details:
  • Layer: 223

  • ID: 75C78E60

Parameters:
  • type (str) – Thumbnail type »

  • w (int 32-bit) – Image width

  • h (int 32-bit) – Image height

  • size (int 32-bit) – File size

TL Schema

photoSize#75c78e60
type:string
w:int
h:int
size:int

= PhotoSize

Parameter Tree

PhotoSize
├── typestring
├── wint
├── hint
└── sizeint

Example

PhotoSize(
    type="text",
    w=0,
    h=0,
    size=0,
)