Skip to content

GramIO API Reference / @gramio/contexts/dist / StickerSet

Class: StickerSet ​

Defined in: contexts/index.d.ts:5000

This object represents a sticker set.

Constructors ​

Constructor ​

new StickerSet(payload): StickerSet

Defined in: contexts/index.d.ts:5002

Parameters ​

ParameterType
payloadTelegramStickerSet

Returns ​

StickerSet

Properties ​

PropertyTypeDefined in
payloadTelegramStickerSetcontexts/index.d.ts:5001

Accessors ​

[toStringTag] ​

Get Signature ​

get [toStringTag](): string

Defined in: contexts/index.d.ts:5004

MDN

Returns ​

string


name ​

Get Signature ​

get name(): string

Defined in: contexts/index.d.ts:5006

Sticker set name

Returns ​

string


stickers ​

Get Signature ​

get stickers(): StickerAttachment[]

Defined in: contexts/index.d.ts:5012

List of all set stickers

Returns ​

StickerAttachment[]


stickerType ​

Get Signature ​

get stickerType(): TelegramStickerSetStickerType

Defined in: contexts/index.d.ts:5010

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

Returns ​

TelegramStickerSetStickerType


thumbnail ​

Get Signature ​

get thumbnail(): PhotoSize

Defined in: contexts/index.d.ts:5014

Sticker set thumbnail in the .WEBP or .TGS format

Returns ​

PhotoSize


title ​

Get Signature ​

get title(): string

Defined in: contexts/index.d.ts:5008

Sticker set title

Returns ​

string