MadelineProto/docs/TD_docs/constructors/stickerSetInfo.md

1.7 KiB

title description
stickerSetInfo Represents short information about sticker set

Constructor: stickerSetInfo

Back to constructors index

Represents short information about 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
size int Yes Total number of stickers in the set
covers Array of sticker Yes Up to 5 first stickers from the set depending on the context

Type: StickerSetInfo

Example:

$stickerSetInfo = ['_' => 'stickerSetInfo', 'id' => long, 'title' => string, 'name' => string, 'is_installed' => Bool, 'is_archived' => Bool, 'is_official' => Bool, 'is_masks' => Bool, 'is_viewed' => Bool, 'size' => int, 'covers' => [sticker], ];

Or, if you're into Lua:

stickerSetInfo={_='stickerSetInfo', id=long, title=string, name=string, is_installed=Bool, is_archived=Bool, is_official=Bool, is_masks=Bool, is_viewed=Bool, size=int, covers={sticker}, }