Discord Eraser Bot

Sticker
in package

Read onlyYes
FinalYes
Tags
see
https://discord.com/developers/docs/resources/sticker#sticker-object-sticker-structure

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

$guild_id

public string|null $guild_id = null

$pack_id

public string|null $pack_id = null

$sort_value

public int|null $sort_value = 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.


        
On this page

Search results