StickerSet
This object represents a sticker set.
📝 Schema
Field | Type | Description |
---|---|---|
name | String | Identifier for this file, which can be used to download or reuse the file |
title | String | Unique 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. |
stickers | Array of Sticker | List of all set stickers |
thumbnail | PhotoSize | Optional. 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.