DiscordGuildTrait

data class DiscordGuildTrait(val emojiId: Snowflake?, val emojiName: String?, val emojiAnimated: Boolean, val label: String, val position: Int)(source)

A representation of a Discord guild trait structure

Parameters

emojiId

The ID of the emoji associated with the trait

emojiName

The name of the emoji associated with the trait

emojiAnimated

Whether the associated emoji is animated

label

The name of the trait

position

The position of the trait in the array for sorting

Constructors

Link copied to clipboard
constructor(emojiId: Snowflake?, emojiName: String?, emojiAnimated: Boolean, label: String, position: Int)

Properties

Link copied to clipboard
@SerialName(value = "emoji_animated")
val emojiAnimated: Boolean
Link copied to clipboard
@SerialName(value = "emoji_id")
val emojiId: Snowflake?
Link copied to clipboard
@SerialName(value = "emoji_name")
val emojiName: String?
Link copied to clipboard
Link copied to clipboard