public enum ChatAction extends Enum<ChatAction>
| Enum Constant and Description |
|---|
FIND_LOCATION |
RECORD_AUDIO |
RECORDING_VIDEO |
TYPING_TEXT_MESSAGE |
UPLOAD_AUDIO |
UPLOAD_DOCUMENT |
UPLOADING_PHOTO |
UPLOADING_VIDEO |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the version of the name that telegram uses in its API
|
static ChatAction |
valueOf(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_TEXT_MESSAGE
public static final ChatAction UPLOADING_PHOTO
public static final ChatAction RECORDING_VIDEO
public static final ChatAction UPLOADING_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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getName()
Copyright © 2017. All rights reserved.