Generic

data class Generic(val unicode: String, val names: List<String>) : DiscordEmoji

A generic emoji that does not support SkinTones.

Constructors

Link copied to clipboard
constructor(unicode: String, names: List<String>)

Properties

Link copied to clipboard
open val name: String

The first name for this emoji.

Link copied to clipboard
open override val names: List<String>

List of names for this emoji.

Link copied to clipboard
open override val unicode: String

The hex value of this emoji.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun DiscordEmoji.toReaction(): ReactionEmoji.Unicode

Transforms the emoji into a ReactionEmoji.Unicode emoji.

Link copied to clipboard
open override fun toString(): String