Enum Class ActionType

Object
Enum<ActionType>
ActionType
All Implemented Interfaces:
Serializable, Comparable<ActionType>, Constable

public enum ActionType extends Enum<ActionType>
Version:
1.0 Types of actions for SendChatAction method.
Author:
Ruben Bermudez
  • Enum Constant Details

    • TYPING

      public static final ActionType TYPING
    • RECORD_VIDEO

      public static final ActionType RECORD_VIDEO
    • RECORD_VIDEO_NOTE

      public static final ActionType RECORD_VIDEO_NOTE
    • RECORD_VOICE

      public static final ActionType RECORD_VOICE
    • UPLOAD_PHOTO

      public static final ActionType UPLOAD_PHOTO
    • UPLOAD_VIDEO

      public static final ActionType UPLOAD_VIDEO
    • UPLOAD_VIDEO_NOTE

      public static final ActionType UPLOAD_VIDEO_NOTE
    • UPLOAD_VOICE

      public static final ActionType UPLOAD_VOICE
    • UPLOAD_DOCUMENT

      public static final ActionType UPLOAD_DOCUMENT
    • FIND_LOCATION

      public static final ActionType FIND_LOCATION
  • Method Details

    • values

      public static ActionType[] 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 ActionType 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ActionType>
    • get

      public static ActionType get(String text)