public enum ChatAction extends java.lang.Enum<ChatAction>
Enum Constant and Description |
---|
find_location |
record_audio |
record_video |
typing |
upload_audio |
upload_document |
upload_photo |
upload_video |
Modifier and Type | Method and Description |
---|---|
static ChatAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChatAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChatAction typing
public static final ChatAction upload_photo
public static final ChatAction record_video
public static final ChatAction upload_video
public static final ChatAction record_audio
public static final ChatAction upload_audio
public static final ChatAction upload_document
public static final ChatAction find_location
public static ChatAction[] values()
for (ChatAction c : ChatAction.values()) System.out.println(c);
public static ChatAction valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null