1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 10:36:54 +01:00
MadelineProto/docs/API_docs/constructors/photo.md
2016-12-20 13:32:11 +01:00

670 B

title description
photo photo attributes, type and example

Constructor: photo

Back to constructors index

Attributes:

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

Type: Photo

Example:

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