1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-16 00:56:55 +01:00
MadelineProto/docs/TD_docs/constructors/inputMessageSticker.md
2017-07-23 16:11:02 +02:00

1.1 KiB

title description
inputMessageSticker Sticker message

Constructor: inputMessageSticker

Back to constructors index

Sticker message

Attributes:

Name Type Required Description
sticker InputFile Yes Sticker to send
thumb InputThumb Yes Sticker thumb, if available
width int Yes Sticker width
height int Yes Sticker height

Type: InputMessageContent

Example:

$inputMessageSticker = ['_' => 'inputMessageSticker', 'sticker' => InputFile, 'thumb' => InputThumb, 'width' => int, 'height' => int, ];

PWRTelegram json-encoded version:

{"_":"inputMessageSticker","sticker":"InputFile","thumb":"InputThumb","width":"int","height":"int"}

Or, if you're into Lua:

inputMessageSticker={_='inputMessageSticker', sticker=InputFile, thumb=InputThumb, width=int, height=int, }