1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 15:06:55 +01:00
MadelineProto/docs/TD_docs/constructors/inputThumb.md

25 lines
834 B
Markdown
Raw Normal View History

---
2017-12-21 21:08:25 +01: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
---
2017-12-21 21:08:25 +01:00
## Constructor: inputThumb
[Back to constructors index](index.md)
2017-12-21 21:08:25 +01:00
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 |
2017-08-20 11:05:56 +02:00
|----------|---------------|----------|-------------|
2017-12-21 21:08:25 +01:00
|thumb|[InputFile](../types/InputFile.md) | Yes|Thumb file to send, sending thumbs by file_id is currently not supported|
2017-08-25 15:05:53 +02:00
|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)