Enum Class Chat.Type

java.lang.Object
java.lang.Enum<Chat.Type>
org.teleight.teleightbots.api.objects.Chat.Type
All Implemented Interfaces:
Serializable, Comparable<Chat.Type>, Constable
Enclosing class:
Chat

public static enum Chat.Type extends Enum<Chat.Type>
  • Enum Constant Details

    • USER_CHAT_TYPE

      public static final Chat.Type USER_CHAT_TYPE
    • GROUP_CHAT_TYPE

      public static final Chat.Type GROUP_CHAT_TYPE
    • CHANNEL_CHAT_TYPE

      public static final Chat.Type CHANNEL_CHAT_TYPE
    • SUPERGROUP_CHAT_TYPE

      public static final Chat.Type SUPERGROUP_CHAT_TYPE
  • Method Details

    • values

      public static Chat.Type[] 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 Chat.Type 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