MadelineProtoDocs/docs/API_docs/constructors/photoCachedSize.md
2024-05-01 14:53:46 +02:00

893 B

title description nav_exclude image
photoCachedSize Description of an image and its content. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: photoCachedSize

Back to constructors index

Description of an image and its content.

Attributes:

Name Type Required Description
type string Yes Thumbnail type
w int Yes Image width
h int Yes Image height
bytes bytes Yes Binary data, file content

Type: PhotoSize

Example:

$photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'w' => int, 'h' => int, 'bytes' => 'bytes'];