ReactionEmoji

sealed class ReactionEmoji(source)

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class Custom(val id: Snowflake, val name: String, val isAnimated: Boolean) : ReactionEmoji
Link copied to clipboard
data class Unicode(val name: String) : ReactionEmoji

Properties

Link copied to clipboard
abstract val mention: String
Link copied to clipboard
abstract val name: String

Either the unicode representation if it's a Unicode emoji or the emoji name if it's a Custom emoji.

Link copied to clipboard
abstract val urlFormat: String

Format used in HTTP queries.