Enum Class JidType

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

public enum JidType extends Enum<JidType>
The constants of this enumerated type describe the various types of jids currently supported
  • Enum Constant Details

    • COMPANION

      public static final JidType COMPANION
      Represents a device connected using the multi device beta
    • USER

      public static final JidType USER
      Regular Whatsapp contact Jid
    • OFFICIAL_SURVEY_ACCOUNT

      public static final JidType OFFICIAL_SURVEY_ACCOUNT
      Official survey account
    • LID

      public static final JidType LID
      Lid
    • BROADCAST

      public static final JidType BROADCAST
      Broadcast list
    • OFFICIAL_BUSINESS_ACCOUNT

      public static final JidType OFFICIAL_BUSINESS_ACCOUNT
      Official business account
    • GROUP

      public static final JidType GROUP
      Group Chat Jid
    • GROUP_CALL

      public static final JidType GROUP_CALL
      Group Call Jid
    • SERVER

      public static final JidType SERVER
      Server Jid: Used to send nodes to Whatsapp usually
    • ANNOUNCEMENT

      public static final JidType ANNOUNCEMENT
      Announcements Chat Jid: Read only chat, usually used by Whatsapp for log updates
    • IAS

      public static final JidType IAS
      IAS Chat jid
    • STATUS

      public static final JidType STATUS
      Image Status Jid of a contact
    • UNKNOWN

      public static final JidType UNKNOWN
      Unknown Jid type
    • NEWSLETTER

      public static final JidType NEWSLETTER
      Channel
  • Constructor Details

    • JidType

      private JidType()
  • Method Details

    • values

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