MadelineProto/old_docs/API_docs_v44/constructors/photo.md

599 B

title description
photo photo attributes, type and example

Constructor: photo

Back to constructors index

Attributes:

Name Type Required
id long Required
access_hash long Required
date int Required
sizes Array of PhotoSize Required

Type: Photo

Example:

$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [Vector t], ];