MadelineProtoDocs/old_docs/API_docs_v32/constructors/messages.recentStickers.md

1.1 KiB

title description image redirect_from
messages.recentStickers Recently used stickers https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/messages_recentStickers.html

Constructor: messages.recentStickers

Back to constructors index

Recently used stickers

Attributes:

Name Type Required Description
hash int Yes
packs Array of StickerPack Yes Emojis associated to stickers
stickers Array of Document Yes Recent stickers
dates Array of int Yes When was each sticker last used

Type: messages.RecentStickers

Example:

$messages.recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]];

Or, if you're into Lua:

messages.recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}}