MadelineProto/docs/TD_docs/constructors/stickerSet.md

1.6 KiB

title description
stickerSet Represents sticker set

Constructor: stickerSet

Back to constructors index

Represents sticker set

Attributes:

Name Type Required Description
id long Yes Sticker set identifier
title string Yes Title of the sticker set
name string Yes Name of the sticker set
is_installed Bool Yes True if sticker set is installed by logged in user
is_archived Bool Yes True if sticker set is archived
is_official Bool Yes True if sticker set is official
is_masks Bool Yes True if stickers in the set are masks
is_viewed Bool Yes True for viewed trending sticker set
stickers Array of sticker Yes List of stickers in this set
emojis Array of stickerEmojis Yes Lists of emojis corresponding to the stickers in the same order

Type: StickerSet

Example:

$stickerSet = ['_' => 'stickerSet', 'id' => long, 'title' => string, 'name' => string, 'is_installed' => Bool, 'is_archived' => Bool, 'is_official' => Bool, 'is_masks' => Bool, 'is_viewed' => Bool, 'stickers' => [sticker], 'emojis' => [stickerEmojis], ];

Or, if you're into Lua:

stickerSet={_='stickerSet', id=long, title=string, name=string, is_installed=Bool, is_archived=Bool, is_official=Bool, is_masks=Bool, is_viewed=Bool, stickers={sticker}, emojis={stickerEmojis}, }