PhotoCachedSize
- class pyrogram.raw.types.PhotoCachedSize
Description of an image and its content.
Constructor of
PhotoSize.- Details:
Layer:
223ID:
21E1AD6
- Parameters:
type (
str) – Thumbnail typew (
int32-bit) – Image widthh (
int32-bit) – Image heightbytes (
bytes) – Binary data, file content
TL Schema
photoCachedSize#21e1ad6
type:string
w:int
h:int
bytes:bytes
= PhotoSize
Parameter Tree
PhotoCachedSize
├── type →
string├── w →
int├── h →
int└── bytes →
bytesExample
PhotoCachedSize(
type="text",
w=0,
h=0,
bytes=b"data",
)