JavaScript is disabled on your browser.
Enum Constant Summary
Enum Constants
Method Summary
All Methods Static Methods Concrete Methods
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Enum Constant Details
MESSAGE
@SerializedName("message")
public static final Updates MESSAGE
CHANNEL_POST
@SerializedName("channel_post")
public static final Updates CHANNEL_POST
EDITED_MESSAGE
@SerializedName("edited_message")
public static final Updates EDITED_MESSAGE
EDITED_CHANNEL_POST
@SerializedName("edited_channel_post")
public static final Updates EDITED_CHANNEL_POST
CALLBACK_QUERY
@SerializedName("callback_query")
public static final Updates CALLBACK_QUERY
INLINE_QUERY
@SerializedName("inline_query")
public static final Updates INLINE_QUERY
POLL
@SerializedName("poll")
public static final Updates POLL
POLL_ANSWER
@SerializedName("poll_answer")
public static final Updates POLL_ANSWER
CHOSEN_INLINE_RESULT
@SerializedName("chosen_inline_result")
public static final Updates CHOSEN_INLINE_RESULT
SHIPPING_QUERY
@SerializedName("shipping_query")
public static final Updates SHIPPING_QUERY
PRE_CHECKOUT_QUERY
@SerializedName("pre_checkout_query")
public static final Updates PRE_CHECKOUT_QUERY
MY_CHAT_MEMBER
@SerializedName("my_chat_member")
public static final Updates MY_CHAT_MEMBER
CHAT_MEMBER
@SerializedName("chat_member")
public static final Updates CHAT_MEMBER
CHAT_JOIN_REQUEST
@SerializedName("chat_join_request")
public static final Updates CHAT_JOIN_REQUEST
MESSAGE_REACTION
@SerializedName("message_reaction")
public static final Updates MESSAGE_REACTION
MESSAGE_REACTION_COUNT
@SerializedName("message_reaction_count")
public static final Updates MESSAGE_REACTION_COUNT
CHAT_BOOST
@SerializedName("chat_boost")
public static final Updates CHAT_BOOST
REMOVED_CHAT_BOOST
@SerializedName("removed_chat_boost")
public static final Updates REMOVED_CHAT_BOOST
BUSINESS_MESSAGE
@SerializedName("business_message")
public static final Updates BUSINESS_MESSAGE
BUSINESS_CONNECTION
@SerializedName("business_connection")
public static final Updates BUSINESS_CONNECTION
EDITED_BUSINESS_MESSAGE
@SerializedName("edited_business_message")
public static final Updates EDITED_BUSINESS_MESSAGE
DELETED_BUSINESS_MESSAGES
@SerializedName("deleted_business_messages")
public static final Updates DELETED_BUSINESS_MESSAGES
Method Details
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
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