Interface OnWhatsappMetadata

All Superinterfaces:
Listener

public interface OnWhatsappMetadata extends Listener
  • Method Details

    • onMetadata

      void onMetadata(Whatsapp whatsapp, Map<String,String> metadata)
      Called when an updated list of properties is received. This method is called both when a connection is established with WhatsappWeb and when new props are available. In the latter case though, this object should be considered as partial and is guaranteed to contain only updated entries.
      Specified by:
      onMetadata in interface Listener
      Parameters:
      whatsapp - an instance to the calling api
      metadata - the updated list of properties