Constructor: photo

Back to constructors index



Name Type Required Description
has_stickers Bool Optional Whether the photo has mask stickers attached to it
id long Yes ID
access_hash long Yes Access hash
file_reference bytes Yes file reference
date int Yes Date of upload
sizes Array of PhotoSize Yes Available sizes for download
video_sizes Array of VideoSize Optional  
dc_id int Yes DC ID to use for download

Type: Photo


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

Or, if you’re into Lua:

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

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