Enum Class ChatAction

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

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

    • TYPING

      public static final ChatAction TYPING
    • UPLOAD_PHOTO

      public static final ChatAction UPLOAD_PHOTO
    • RECORD_VIDEO

      public static final ChatAction RECORD_VIDEO
    • UPLOAD_VIDEO

      public static final ChatAction UPLOAD_VIDEO
    • RECORD_VOICE

      public static final ChatAction RECORD_VOICE
    • UPLOAD_VOICE

      public static final ChatAction UPLOAD_VOICE
    • UPLOAD_DOCUMENT

      public static final ChatAction UPLOAD_DOCUMENT
    • CHOOSE_STICKER

      public static final ChatAction CHOOSE_STICKER
    • FIND_LOCATION

      public static final ChatAction FIND_LOCATION
    • RECORD_VIDEO_NOTE

      public static final ChatAction RECORD_VIDEO_NOTE
    • UPLOAD_VIDEO_NOTE

      public static final ChatAction UPLOAD_VIDEO_NOTE
  • Method Details

    • values

      public static ChatAction[] 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 ChatAction 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
    • getFieldValue

      public String getFieldValue()
    • fromValue

      public static ChatAction fromValue(String value)