public static enum Update.UpdateType extends Enum<Update.UpdateType>
| Enum Constant and Description |
|---|
CALLBACK_QUERY |
CHANNEL_POST |
CHOSEN_INLINE_RESULT |
EDITED_CHANNEL_POST |
EDITED_MESSAGE |
INLINE_QUERY |
MESSAGE |
| Modifier and Type | Method and Description |
|---|---|
static Update.UpdateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Update.UpdateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Update.UpdateType MESSAGE
public static final Update.UpdateType EDITED_MESSAGE
public static final Update.UpdateType INLINE_QUERY
public static final Update.UpdateType CALLBACK_QUERY
public static final Update.UpdateType CHANNEL_POST
public static final Update.UpdateType EDITED_CHANNEL_POST
public static final Update.UpdateType CHOSEN_INLINE_RESULT
public static Update.UpdateType[] values()
for (Update.UpdateType c : Update.UpdateType.values()) System.out.println(c);
public static Update.UpdateType 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 nullCopyright © 2017. All rights reserved.