MadelineProto/docs/TD_docs/constructors/inputMessageSticker.md
2017-07-23 16:33:46 +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}