1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 08:07:20 +01:00
MadelineProto/old_docs/API_docs_v18/constructors/photo.md

802 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
user_id int Required
date int Required
caption string Required
geo GeoPoint Required
sizes Array of PhotoSize Required

Type: Photo

Example:

$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => string, 'geo' => GeoPoint, 'sizes' => [Vector t], ];