Skip to main content

StickerSet

This object represents a sticker set.

📝 Schema

FieldTypeDescription
nameStringIdentifier for this file, which can be used to download or reuse the file
titleStringUnique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.
stickersArray of StickerList of all set stickers
thumbnailPhotoSizeOptional. Sticker thumbnail in the .WEBP or .JPG format

⚙️ Get methods

getName()

Retrieves the name of the sticker set.

$name = $stickerSetObject->getName();

getTitle()

Retrieves the title of the sticker set.

$title = $stickerSetObject->getTitle();

getStickers()

Returns an array of all stickers in the set. The array will contain Sticker objects.

$stickers = $stickerSetObject->getStickers();

getThumbnail()

Retrieves the thumbnail of the sticker set in .WEBP or .JPG format, if available.

$thumbnail = $stickerSetObject->getThumbnail();

➕ More

tip

For further information, refer to the official Bale documentation for more details.