1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-04 20:27:46 +01:00
MadelineProto/docs/API_docs/constructors/photo.md
2016-12-19 20:56:05 +03:00

560 B

Constructor: photo

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], ];