Dice

@Serializable
data class Dice(val emoji: String, val value: Int)

This object represents an animated emoji that displays a random value.

Api reference

Constructors

Link copied to clipboard
constructor(emoji: String, value: Int)

Properties

Link copied to clipboard

Emoji on which the dice throw animation is based

Link copied to clipboard
val value: Int

Value of the dice, 1-6 for "🎲", "🎯" and "🎳" base emoji, 1-5 for "🏀" and "⚽" base emoji, 1-64 for "🎰" base emoji