Class ContactMessage

java.lang.Object
com.whatsapp.api.domain.messages.ContactMessage

public class ContactMessage extends Object
A contact object
  • Constructor Details

    • ContactMessage

      public ContactMessage()
  • Method Details

    • getContacts

      public List<Contact> getContacts()
      Gets contacts.
      Returns:
      the contacts
    • setContacts

      public ContactMessage setContacts(List<Contact> contacts)
      Sets contacts.
      Parameters:
      contacts - the contacts
      Returns:
      the contacts
    • addContacts

      public ContactMessage addContacts(Contact contact)
      Add contacts contact message.
      Parameters:
      contact - : Contacts Object.

      Add a Contact object into contacts array.

      Returns:
      the contact message