class StickerSet

This object represents a sticker set.

Methods

__construct(string $name, string $title, string $sticker_type, bool $is_animated, bool $is_video, Sticker[] $stickers, PhotoSize|null $thumb = null)

No description

string
getName()

Sticker set name.

string
getTitle()

Sticker set title.

string
getStickerType()

Type of stickers in the set, currently one of “regular”, “mask”, “custom_emoji”.

bool
getIsAnimated()

True, if the sticker set contains animated stickers.

bool
getIsVideo()

True, if the sticker set contains video stickers.

array
getStickers()

List of all set stickers.

PhotoSize|null
getThumb()

Optional. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format.

Details

at line 19
__construct(string $name, string $title, string $sticker_type, bool $is_animated, bool $is_video, Sticker[] $stickers, PhotoSize|null $thumb = null)

No description

Parameters

string $name
string $title
string $sticker_type
bool $is_animated
bool $is_video
Sticker[] $stickers
PhotoSize|null $thumb

at line 33
string getName()

Sticker set name.

Return Value

string

at line 41
string getTitle()

Sticker set title.

Return Value

string

at line 49
string getStickerType()

Type of stickers in the set, currently one of “regular”, “mask”, “custom_emoji”.

Return Value

string

at line 57
bool getIsAnimated()

True, if the sticker set contains animated stickers.

Return Value

bool

at line 65
bool getIsVideo()

True, if the sticker set contains video stickers.

Return Value

bool

at line 75
array getStickers()

List of all set stickers.

Return Value

array

at line 83
PhotoSize|null getThumb()

Optional. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format.

Return Value

PhotoSize|null