Constructor: photo

Back to constructors index

Photo

Attributes:

Name Type Required Description
has_stickers Bool Optional Has stickers?
id long Yes ID
access_hash long Yes Access hash
file_reference bytes Yes File reference
date int Yes Date
sizes Array of PhotoSize Yes Sizes

Type: Photo

Example:

$photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'file_reference' => 'bytes', 'date' => int, 'sizes' => [PhotoSize, PhotoSize]];

Or, if you’re into Lua:

photo={_='photo', has_stickers=Bool, id=long, access_hash=long, file_reference='bytes', date=int, sizes={PhotoSize}}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.