public enum InteractiveCallbackType extends Enum<InteractiveCallbackType>
| Enum Constant and Description |
|---|
DIALOG_SUBMISSION |
INTERACTIVE_MESSAGE |
MESSAGE_ACTION |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static InteractiveCallbackType |
get(String key) |
String |
toString() |
static InteractiveCallbackType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InteractiveCallbackType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InteractiveCallbackType INTERACTIVE_MESSAGE
public static final InteractiveCallbackType DIALOG_SUBMISSION
public static final InteractiveCallbackType MESSAGE_ACTION
public static final InteractiveCallbackType UNKNOWN
public static InteractiveCallbackType[] values()
for (InteractiveCallbackType c : InteractiveCallbackType.values()) System.out.println(c);
public static InteractiveCallbackType 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 static InteractiveCallbackType get(String key)
public String toString()
toString in class Enum<InteractiveCallbackType>Copyright © 2019. All rights reserved.