MadelineProto/docs/TD_docs/constructors/inputMessageSticker.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00: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}