export declare class StickersAPI export declare class StickersAPI No summary provided.
constructor(rest)
Constructs a new instance of the
StickersAPI class| Name | Type | Optional | Description |
|---|---|---|---|
| rest | REST | No | None |
get(stickerId, { signal }?)
:
Promise<import("discord-api-types/v10").APISticker>
Fetches a sticker
| Name | Type | Optional | Description |
|---|---|---|---|
| stickerId | Snowflake | No | The id of the sticker |
| { signal } | Pick<RequestData, 'signal'> | Yes | None |
Deprecated
getNitroStickers(options?)
:
Promise<RESTGetStickerPacksResult>
Use getStickers instead.
Deprecated
| Name | Type | Optional | Description |
|---|---|---|---|
| options | Pick<RequestData, 'signal'> | Yes | The options for fetching the sticker packs |
getStickers({ signal }?)
:
Promise<RESTGetStickerPacksResult>
Fetches all of the sticker packs
| Name | Type | Optional | Description |
|---|---|---|---|
| { signal } | Pick<RequestData, 'signal'> | Yes | None |