MadelineProtoDocs/old_docs/API_docs_v75/constructors/messages_featuredStickers.md
Sean 4baac3178e Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
2018-10-18 00:30:20 +08:00

1.1 KiB

title description image
messages.featuredStickers messages_featuredStickers attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messages.featuredStickers

Back to constructors index

Attributes:

Name Type Required
hash int Yes
sets Array of StickerSetCovered Yes
unread Array of long Yes

Type: messages_FeaturedStickers

Example:

$messages_featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]];

PWRTelegram json-encoded version:

{"_": "messages.featuredStickers", "hash": int, "sets": [StickerSetCovered], "unread": [long]}

Or, if you're into Lua:

messages_featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}}