1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 14:07:22 +01:00
MadelineProto/old_docs/API_docs_v55/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], ];