MadelineProtoDocs/docs/API_docs/constructors/photoStrippedSize.md

40 lines
767 B
Markdown
Raw Normal View History

2019-03-08 13:49:23 +01:00
---
title: photoStrippedSize
2019-12-27 17:48:04 +01:00
description: Just the image's content
2019-03-08 13:49:23 +01:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: photoStrippedSize
[Back to constructors index](index.md)
2019-12-27 17:48:04 +01:00
Just the image's content
2019-03-08 14:35:09 +01:00
2019-03-08 13:49:23 +01:00
### Attributes:
2019-03-08 14:35:09 +01:00
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
2019-12-27 17:48:04 +01:00
|type|[string](../types/string.md) | Yes|Thumbnail type|
|bytes|[bytes](../types/bytes.md) | Yes|Thumbnail data|
2019-03-08 13:49:23 +01:00
### Type: [PhotoSize](../types/PhotoSize.md)
### Example:
```php
$photoStrippedSize = ['_' => 'photoStrippedSize', 'type' => 'string', 'bytes' => 'bytes'];
```
Or, if you're into Lua:
```lua
photoStrippedSize={_='photoStrippedSize', type='string', bytes='bytes'}
```