Module it.auties.whatsappweb4j
Enum Class MessageType
- All Implemented Interfaces:
Serializable
,Comparable<MessageType>
,Constable
The constants of this enumerated type describe the various types of messages that a
MessageContainer
can wrap-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAudioButtons responseButtons responseCancel payment requestContactContact arrayDecline payment requestDevice sentDevice syncDocumentEmptyEphemeralGroup inviteHighly structuredImageInteractiveListList responseLive locationLocationPayment invitePayment invoiceOrderProductProtocolReactionRequest paymentSend paymentSender key distributionStickerSticker syncTemplateTemplate replyTextVideoView once -
Method Summary
Modifier and TypeMethodDescriptionstatic MessageType
Returns the enum constant of this class with the specified name.static MessageType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EMPTY
Empty -
TEXT
Text -
SENDER_KEY_DISTRIBUTION
Sender key distribution -
IMAGE
Image -
CONTACT
Contact -
LOCATION
Location -
DOCUMENT
Document -
AUDIO
Audio -
VIDEO
Video -
PROTOCOL
Protocol -
CONTACT_ARRAY
Contact array -
HIGHLY_STRUCTURED
Highly structured -
SEND_PAYMENT
Send payment -
LIVE_LOCATION
Live location -
REQUEST_PAYMENT
Request payment -
DECLINE_PAYMENT_REQUEST
Decline payment request -
CANCEL_PAYMENT_REQUEST
Cancel payment request -
TEMPLATE
Template -
STICKER
Sticker -
GROUP_INVITE
Group invite -
TEMPLATE_REPLY
Template reply -
PRODUCT
Product -
DEVICE_SENT
Device sent -
DEVICE_SYNC
Device sync -
LIST
List -
VIEW_ONCE
View once -
PAYMENT_ORDER
Order -
LIST_RESPONSE
List response -
EPHEMERAL
Ephemeral -
PAYMENT_INVOICE
Payment invoice -
BUTTONS
Buttons response -
BUTTONS_RESPONSE
Buttons response -
PAYMENT_INVITE
Payment invite -
INTERACTIVE
Interactive -
REACTION
Reaction -
INTERACTIVE_RESPONSE
-
NATIVE_FLOW_RESPONSE
-
KEEP_IN_CHAT
-
POLL_CREATION
-
POLL_UPDATE
-
REQUEST_PHONE_NUMBER
-
ENCRYPTED_REACTION
-
STICKER_SYNC
Sticker sync
-
-
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 nameNullPointerException
- if the argument is null
-