Package com.vonage.client.users.channels
Class WhatsappVoice
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.users.channels.Channel
com.vonage.client.users.channels.WhatsappVoice
- All Implemented Interfaces:
Jsonable
Represents a WhatsApp Voice channel.
- Since:
- 8.4.0
-
Field Summary
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedWhatsappVoice(String number) Creates a new WhatsApp Voice channel. -
Method Summary
Methods inherited from class com.vonage.client.users.channels.Channel
getConcreteClass, getType, removeTypeField, setTypeFieldMethods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Constructor Details
-
WhatsappVoice
protected WhatsappVoice() -
WhatsappVoice
Creates a new WhatsApp Voice channel.- Parameters:
number- The phone number in E.164 format.
-
-
Method Details
-
getNumber
Phone number for this channel.- Returns:
- The number in E.164 format.
-