mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-03 22:17:45 +01:00
770 B
770 B
title | description |
---|---|
photoSize | photoSize attributes, type and example |
Constructor: photoSize
Attributes:
Name | Type | Required |
---|---|---|
type | string | Yes |
location | FileLocation | Yes |
w | int | Yes |
h | int | Yes |
size | int | Yes |
Type: PhotoSize
Example:
$photoSize = ['_' => 'photoSize', 'type' => string, 'location' => FileLocation, 'w' => int, 'h' => int, 'size' => int, ];
Or, if you're into Lua:
photoSize={_='photoSize', type=string, location=FileLocation, w=int, h=int, size=int, }