mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-16 00:56:55 +01:00
1.1 KiB
1.1 KiB
title | description |
---|---|
inputMessageSticker | Sticker message |
Constructor: inputMessageSticker
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, }