Search...

StickersAPI

export declare class StickersAPI 
export declare class StickersAPI 

No summary provided.

constructor(rest)

Constructs a new instance of the StickersAPI class
NameTypeOptionalDescription
restRESTNoNone

get(stickerId, { signal }?)

:

Promise<import("discord-api-types/v10").APISticker>

NameTypeOptionalDescription
stickerIdSnowflakeNoThe id of the sticker
{ signal }Pick<RequestData, 'signal'>YesNone
Deprecated

getNitroStickers(options?)

:

Promise<RESTGetStickerPacksResult>

Use getStickers instead.
Deprecated
Fetches all of the sticker packs
NameTypeOptionalDescription
optionsPick<RequestData, 'signal'>YesThe options for fetching the sticker packs

getStickers({ signal }?)

:

Promise<RESTGetStickerPacksResult>

NameTypeOptionalDescription
{ signal }Pick<RequestData, 'signal'>YesNone