UpdateType

@Serializable
enum UpdateType : Enum<UpdateType>

Entries

Link copied to clipboard
@SerialName(value = "message")
MESSAGE
Link copied to clipboard
@SerialName(value = "edit_message")
EDIT_MESSAGE
Link copied to clipboard
@SerialName(value = "channel_post")
CHANNEL_POST
Link copied to clipboard
@SerialName(value = "edited_channel_post")
EDITED_CHANNEL_POST
Link copied to clipboard
@SerialName(value = "business_connection")
BUSINESS_CONNECTION
Link copied to clipboard
@SerialName(value = "business_message")
BUSINESS_MESSAGE
Link copied to clipboard
@SerialName(value = "edited_business_message")
EDITED_BUSINESS_MESSAGE
Link copied to clipboard
@SerialName(value = "deleted_business_messages")
DELETED_BUSINESS_MESSAGES
Link copied to clipboard
@SerialName(value = "message_reaction")
MESSAGE_REACTION
Link copied to clipboard
@SerialName(value = "message_reaction_count")
MESSAGE_REACTION_COUNT
Link copied to clipboard
@SerialName(value = "inline_query")
INLINE_QUERY
Link copied to clipboard
@SerialName(value = "chosen_inline_result")
CHOSEN_INLINE_RESULT
Link copied to clipboard
@SerialName(value = "callback_query")
CALLBACK_QUERY
Link copied to clipboard
@SerialName(value = "shipping_query")
SHIPPING_QUERY
Link copied to clipboard
@SerialName(value = "pre_checkout_query")
PRE_CHECKOUT_QUERY
Link copied to clipboard
@SerialName(value = "poll")
POLL
Link copied to clipboard
@SerialName(value = "poll_answer")
POLL_ANSWER
Link copied to clipboard
@SerialName(value = "my_chat_member")
MY_CHAT_MEMBER
Link copied to clipboard
@SerialName(value = "chat_member")
CHAT_MEMBER
Link copied to clipboard
@SerialName(value = "chat_join_request")
CHAT_JOIN_REQUEST
Link copied to clipboard
@SerialName(value = "chat_boost")
CHAT_BOOST
Link copied to clipboard
@SerialName(value = "removed_chat_boost")
REMOVED_CHAT_BOOST
Link copied to clipboard
@SerialName(value = "purchased_paid_media")
PURCHASED_PAID_MEDIA

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.