Interface OnWhatsappContacts

All Superinterfaces:
Listener

public interface OnWhatsappContacts extends Listener
  • Method Details

    • onContacts

      void onContacts(Whatsapp whatsapp, Collection<Contact> contacts)
      Called when the socket receives all the contacts from WhatsappWeb's WebSocket
      Specified by:
      onContacts in interface Listener
      Parameters:
      whatsapp - an instance to the calling api
      contacts - the contacts