MadelineProtoDocs/docs/API_docs/constructors/photoStrippedSize.md
2019-03-08 13:49:23 +01:00

878 B

title description image
photoStrippedSize photoStrippedSize attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: photoStrippedSize

Back to constructors index

Attributes:

Name Type Required
type string Yes
bytes bytes Yes

Type: PhotoSize

Example:

$photoStrippedSize = ['_' => 'photoStrippedSize', 'type' => 'string', 'bytes' => 'bytes'];

PWRTelegram json-encoded version:

{"_": "photoStrippedSize", "type": "string", "bytes": {"_": "bytes", "bytes":"base64 encoded bytes"}}

Or, if you're into Lua:

photoStrippedSize={_='photoStrippedSize', type='string', bytes='bytes'}