Class WhatsappVoice

All Implemented Interfaces:
Jsonable

public class WhatsappVoice extends Channel
Represents a WhatsApp Voice channel.
Since:
8.4.0
  • Constructor Details

    • WhatsappVoice

      protected WhatsappVoice()
    • WhatsappVoice

      public WhatsappVoice(String number)
      Creates a new WhatsApp Voice channel.
      Parameters:
      number - The phone number in E.164 format.
  • Method Details

    • getNumber

      public String getNumber()
      Phone number for this channel.
      Returns:
      The number in E.164 format.