DiscordEmoji
data class DiscordEmoji(val id: Snowflake?, val name: String?, val roles: Optional<List<Snowflake>> = Optional.Missing(), val user: Optional<DiscordUser> = Optional.Missing(), val requireColons: OptionalBoolean = OptionalBoolean.Missing, val managed: OptionalBoolean = OptionalBoolean.Missing, val animated: OptionalBoolean = OptionalBoolean.Missing, val available: OptionalBoolean = OptionalBoolean.Missing)(source)
A representation of a Discord Emoji structure.
Parameters
id
The emoji id.
name
The emoji name.
roles
The roles tis emoji is whitelisted to.
user
The user that created this emoji.
requireColons
Whether this emoji must be wrapped in colons.
managed
Whether this emoji is managed.
animated
Whether this emoji is animated.
available
Whether this emoji can be used, may be false due to loss of boost level.
Constructors
Link copied to clipboard
constructor(id: Snowflake?, name: String?, roles: Optional<List<Snowflake>> = Optional.Missing(), user: Optional<DiscordUser> = Optional.Missing(), requireColons: OptionalBoolean = OptionalBoolean.Missing, managed: OptionalBoolean = OptionalBoolean.Missing, animated: OptionalBoolean = OptionalBoolean.Missing, available: OptionalBoolean = OptionalBoolean.Missing)