Sticker
in package
Read onlyYes
FinalYes
Tags
Table of Contents
Properties
- $available : bool|null
- $description : string|null
- $format_type : StickerFormatType
- $guild_id : string|null
- $id : string
- $name : string
- $pack_id : string|null
- $sort_value : int|null
- $tags : string
- $type : StickerType
- $user : User|null
Methods
- __construct() : mixed
Properties
$available
public
bool|null
$available
= null
$description
public
string|null
$description
$format_type
public
StickerFormatType
$format_type
$guild_id
public
string|null
$guild_id
= null
$id
public
string
$id
$name
public
string
$name
$pack_id
public
string|null
$pack_id
= null
$sort_value
public
int|null
$sort_value
= null
$tags
public
string
$tags
$type
public
StickerType
$type
$user
public
User|null
$user
= null
Methods
__construct()
public
__construct(string $id, string $name, string|null $description, string $tags, StickerType $type, StickerFormatType $format_type[, string|null $pack_id = null ][, bool|null $available = null ][, string|null $guild_id = null ][, User|null $user = null ][, int|null $sort_value = null ]) : mixed
Parameters
- $id : string
-
ID of the sticker.
- $name : string
-
Name of the sticker.
- $description : string|null
-
Description of the sticker.
- $tags : string
-
Autocomplete/suggestion tags for the sticker (max 200 characters).
- $type : StickerType
-
Type of sticker.
- $format_type : StickerFormatType
-
Type of sticker format.
- $pack_id : string|null = null
-
For standard stickers, id of the pack the sticker is from.
- $available : bool|null = null
-
Whether this guild sticker can be used, may be false due to loss of Server Boosts.
- $guild_id : string|null = null
-
ID of the guild that owns this sticker.
- $user : User|null = null
-
The user that uploaded the guild sticker.
- $sort_value : int|null = null
-
The standard sticker's sort order within its pack.