Enum Class EntityType

java.lang.Object
java.lang.Enum<EntityType>
io.github.natanimn.telebof.enums.EntityType
All Implemented Interfaces:
Serializable, Comparable<EntityType>, Constable

public enum EntityType extends Enum<EntityType> implements Serializable
Since:
3 March, 2025
  • Enum Constant Details

    • MENTION

      @SerializedName("mention") public static final EntityType MENTION
    • HASHTAG

      @SerializedName("hashtag") public static final EntityType HASHTAG
    • CASHTAG

      @SerializedName("cashtag") public static final EntityType CASHTAG
    • BOT_COMMAND

      @SerializedName("bot_command") public static final EntityType BOT_COMMAND
    • URL

      @SerializedName("url") public static final EntityType URL
    • EMAIL

      @SerializedName("email") public static final EntityType EMAIL
    • PHONE_NUMBER

      @SerializedName("phone_number") public static final EntityType PHONE_NUMBER
    • BOLD

      @SerializedName("bold") public static final EntityType BOLD
    • ITALIC

      @SerializedName("italic") public static final EntityType ITALIC
    • UNDERLINE

      @SerializedName("underline") public static final EntityType UNDERLINE
    • STRIKETHROUGH

      @SerializedName("strikethrough") public static final EntityType STRIKETHROUGH
    • SPOILER

      @SerializedName("spoiler") public static final EntityType SPOILER
    • CODE

      @SerializedName("code") public static final EntityType CODE
    • PRE

      @SerializedName("pre") public static final EntityType PRE
    • TEXT_MENTION

      @SerializedName("text_mention") public static final EntityType TEXT_MENTION
    • CUSTOM_EMOJI

      @SerializedName("custom_emoji") public static final EntityType CUSTOM_EMOJI
  • Method Details

    • values

      public static EntityType[] 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 EntityType 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