1.1 KiB
1.1 KiB
title | description | image |
---|---|---|
photo | Photo | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: photo
Photo
Attributes:
Name | Type | Required | Description |
---|---|---|---|
id | long | Yes | ID |
access_hash | long | Yes | Access hash |
user_id | int | Yes | |
date | int | Yes | Date of upload |
caption | string | Yes | |
geo | GeoPoint | Optional | |
sizes | Array of PhotoSize | Yes | Available sizes for download |
Type: Photo
Example:
$photo = ['_' => 'photo', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'caption' => 'string', 'geo' => GeoPoint, 'sizes' => [PhotoSize, PhotoSize]];
Or, if you're into Lua:
photo={_='photo', id=long, access_hash=long, user_id=int, date=int, caption='string', geo=GeoPoint, sizes={PhotoSize}}