2018-04-01 13:19:25 +02:00
|
|
|
---
|
|
|
|
title: inputThumb
|
|
|
|
description: Thumb to send along with a file, should be in jpeg format or webp format for stickers and less than 200KB in size
|
2018-04-04 19:52:48 +02:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
2018-04-01 13:19:25 +02:00
|
|
|
---
|
2018-04-05 01:19:57 +02:00
|
|
|
# Constructor: inputThumb
|
2018-04-01 13:19:25 +02:00
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Thumb to send along with a file, should be in jpeg format or webp format for stickers and less than 200KB in size
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
|
|
|
|thumb|[InputFile](../types/InputFile.md) | Yes|Thumb file to send, sending thumbs by file_id is currently not supported|
|
|
|
|
|width|[int](../types/int.md) | Yes|Thumb width, usually shouldn't excceed 90. Use 0 if unknown|
|
|
|
|
|height|[int](../types/int.md) | Yes|Thumb height, usually shouldn't excceed 90. Use 0 if unknown|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [InputThumb](../types/InputThumb.md)
|
|
|
|
|
|
|
|
|