Emoji
in package
Read onlyYes
FinalYes
Tags
Table of Contents
Properties
- $animated : bool|null
- $available : bool|null
- $id : string|null
- $managed : bool|null
- $name : string|null
- $require_colons : bool|null
- $roles : array<string|int, mixed>|null
- $user : User|null
Methods
- __construct() : mixed
Properties
$animated
public
bool|null
$animated
= null
$available
public
bool|null
$available
= null
$id
public
string|null
$id
$managed
public
bool|null
$managed
= null
$name
public
string|null
$name
$require_colons
public
bool|null
$require_colons
= null
$roles
public
array<string|int, mixed>|null
$roles
= null
$user
public
User|null
$user
= null
Methods
__construct()
public
__construct(string|null $id, string|null $name[, array<string|int, string>|null $roles = null ][, User|null $user = null ][, bool|null $require_colons = null ][, bool|null $managed = null ][, bool|null $animated = null ][, bool|null $available = null ]) : mixed
Parameters
- $id : string|null
-
Emoji id.
- $name : string|null
-
Emoji name.
- $roles : array<string|int, string>|null = null
-
Roles allowed to use this emoji.
- $user : User|null = null
-
User that created this emoji.
- $require_colons : bool|null = null
-
Whether this emoji must be wrapped in colons.
- $managed : bool|null = null
-
Whether this emoji is managed.
- $animated : bool|null = null
-
Whether this emoji is animated.
- $available : bool|null = null
-
Whether this emoji can be used, may be false due to loss of Server Boosts.