Enum Class MessageType

java.lang.Object
java.lang.Enum<MessageType>
it.auties.whatsapp.model.message.model.MessageType
All Implemented Interfaces:
Serializable, Comparable<MessageType>, Constable

public enum MessageType extends Enum<MessageType>
The constants of this enumerated type describe the various types of messages that a MessageContainer can wrap
  • Enum Constant Details

    • EMPTY

      public static final MessageType EMPTY
      Empty
    • TEXT

      public static final MessageType TEXT
      Text
    • SENDER_KEY_DISTRIBUTION

      public static final MessageType SENDER_KEY_DISTRIBUTION
      Sender key distribution
    • IMAGE

      public static final MessageType IMAGE
      Image
    • CONTACT

      public static final MessageType CONTACT
      Contact
    • LOCATION

      public static final MessageType LOCATION
      Location
    • DOCUMENT

      public static final MessageType DOCUMENT
      Document
    • AUDIO

      public static final MessageType AUDIO
      Audio
    • VIDEO

      public static final MessageType VIDEO
      Video
    • PROTOCOL

      public static final MessageType PROTOCOL
      Protocol
    • CONTACT_ARRAY

      public static final MessageType CONTACT_ARRAY
      Contact array
    • HIGHLY_STRUCTURED

      public static final MessageType HIGHLY_STRUCTURED
      Highly structured
    • SEND_PAYMENT

      public static final MessageType SEND_PAYMENT
      Send payment
    • LIVE_LOCATION

      public static final MessageType LIVE_LOCATION
      Live location
    • REQUEST_PAYMENT

      public static final MessageType REQUEST_PAYMENT
      Request payment
    • DECLINE_PAYMENT_REQUEST

      public static final MessageType DECLINE_PAYMENT_REQUEST
      Decline payment request
    • CANCEL_PAYMENT_REQUEST

      public static final MessageType CANCEL_PAYMENT_REQUEST
      Cancel payment request
    • TEMPLATE

      public static final MessageType TEMPLATE
      Template
    • STICKER

      public static final MessageType STICKER
      Sticker
    • GROUP_INVITE

      public static final MessageType GROUP_INVITE
      Group invite
    • TEMPLATE_REPLY

      public static final MessageType TEMPLATE_REPLY
      Template reply
    • PRODUCT

      public static final MessageType PRODUCT
      Product
    • DEVICE_SENT

      public static final MessageType DEVICE_SENT
      Device sent
    • DEVICE_SYNC

      public static final MessageType DEVICE_SYNC
      Device sync
    • LIST

      public static final MessageType LIST
      List
    • VIEW_ONCE

      public static final MessageType VIEW_ONCE
      View once
    • PAYMENT_ORDER

      public static final MessageType PAYMENT_ORDER
      Order
    • LIST_RESPONSE

      public static final MessageType LIST_RESPONSE
      List response
    • EPHEMERAL

      public static final MessageType EPHEMERAL
      Ephemeral
    • PAYMENT_INVOICE

      public static final MessageType PAYMENT_INVOICE
      Payment invoice
    • BUTTONS

      public static final MessageType BUTTONS
      Buttons response
    • BUTTONS_RESPONSE

      public static final MessageType BUTTONS_RESPONSE
      Buttons response
    • PAYMENT_INVITE

      public static final MessageType PAYMENT_INVITE
      Payment invite
    • INTERACTIVE

      public static final MessageType INTERACTIVE
      Interactive
    • REACTION

      public static final MessageType REACTION
      Reaction
    • INTERACTIVE_RESPONSE

      public static final MessageType INTERACTIVE_RESPONSE
    • NATIVE_FLOW_RESPONSE

      public static final MessageType NATIVE_FLOW_RESPONSE
    • KEEP_IN_CHAT

      public static final MessageType KEEP_IN_CHAT
    • POLL_CREATION

      public static final MessageType POLL_CREATION
    • POLL_UPDATE

      public static final MessageType POLL_UPDATE
    • REQUEST_PHONE_NUMBER

      public static final MessageType REQUEST_PHONE_NUMBER
    • ENCRYPTED_REACTION

      public static final MessageType ENCRYPTED_REACTION
    • STICKER_SYNC

      public static final MessageType STICKER_SYNC
      Sticker sync
  • Method Details

    • values

      public static MessageType[] 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

      public static MessageType valueOf(String name)
      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