MadelineProto/docs/API_docs/constructors/photo.md

545 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 = ['has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ];