Class: Sticker
Hierarchy
-
Base
↳Sticker
Table of contents
Constructors
Properties
Constructors
constructor
• new Sticker(client
, data
): Sticker
Represents a sticker on the Discord platform.
Parameters
Name | Type | Description |
---|---|---|
client | YorClient | The YorClient instance. |
data | APISticker | The APISticker object. |
Returns
Sticker
Overrides
Base.constructorDefined in
src/structures/Sticker.ts:22Properties
available
•Optional
available: boolean
Defined in
src/structures/Sticker.ts:14client
• client:YorClient
Inherited from
Base.clientDefined in
src/structures/Base.ts:4creator
•Optional
creator: User
Defined in
src/structures/Sticker.ts:13id
• id:string
Defined in
src/structures/Sticker.ts:9name
• name:string
Defined in
src/structures/Sticker.ts:10raw
• raw:APISticker
Defined in
src/structures/Sticker.ts:8tags
•Optional
tags: string
Defined in
src/structures/Sticker.ts:11type
•Optional
type: StickerType