Enum Class DiceEmoji

java.lang.Object
java.lang.Enum<DiceEmoji>
dev.tobee.telegram.model.DiceEmoji
All Implemented Interfaces:
Serializable, Comparable<DiceEmoji>, Constable

public enum DiceEmoji extends Enum<DiceEmoji>
  • Enum Constant Details

    • GAME_DIE

      public static final DiceEmoji GAME_DIE
    • DIRECT_HIT

      public static final DiceEmoji DIRECT_HIT
    • BASKETBALL

      public static final DiceEmoji BASKETBALL
    • SOCCER_BALL

      public static final DiceEmoji SOCCER_BALL
    • BOWLING

      public static final DiceEmoji BOWLING
  • Field Details

    • emoji

      public final String emoji
  • Method Details

    • values

      public static DiceEmoji[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DiceEmoji valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getEmoji

      public String getEmoji()