1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 23:56:56 +01:00
MadelineProto/docs/TD_docs/constructors/inputThumbLocal.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

944 B

title description
inputThumbLocal Local file with the thumb

Constructor: inputThumbLocal

Back to constructors index

Local file with the thumb

Attributes:

Name Type Required Description
path string Yes Path to the file with the thumb
width int Yes Thumb width, use 0 if unknown
height int Yes Thumb height, use 0 if unknown

Type: InputThumb

Example:

$inputThumbLocal = ['_' => 'inputThumbLocal', 'path' => 'string', 'width' => int, 'height' => int];

PWRTelegram json-encoded version:

{"_": "inputThumbLocal", "path": "string", "width": int, "height": int}

Or, if you're into Lua:

inputThumbLocal={_='inputThumbLocal', path='string', width=int, height=int}