Interface OnWhatsappRegistrationCode

All Superinterfaces:
Listener

public interface OnWhatsappRegistrationCode extends Listener
  • Method Details

    • onRegistrationCode

      void onRegistrationCode(Whatsapp whatsapp, long code)
      Called when an OTP is requested from a new device Only works on the mobile API
      Specified by:
      onRegistrationCode in interface Listener
      Parameters:
      whatsapp - an instance to the calling api
      code - the registration code