Class WhatsappTextRequest
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.messages.MessageRequest
com.vonage.client.messages.whatsapp.WhatsappRequest
com.vonage.client.messages.whatsapp.WhatsappTextRequest
- All Implemented Interfaces:
Jsonable,TextMessageRequest
-
Nested Class Summary
Nested Classes -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic WhatsappTextRequest.Builderbuilder()getText()Get thetextfield of the message.protected intSets the maximum text length for text messages.Methods inherited from class com.vonage.client.messages.whatsapp.WhatsappRequest
getContext, validateSenderAndRecipientMethods inherited from class com.vonage.client.messages.MessageRequest
getChannel, getClientRef, getCustom, getFrom, getMessageType, getTo, getTtl, getWebhookUrl, getWebhookVersion, validateClientReferenceMethods 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
-
Method Details
-
maxTextLength
Description copied from class:MessageRequestSets the maximum text length for text messages.- Overrides:
maxTextLengthin classMessageRequest- Returns:
- The maximum text message string length.
-
getText
Description copied from interface:TextMessageRequestGet thetextfield of the message.- Specified by:
getTextin interfaceTextMessageRequest- Overrides:
getTextin classMessageRequest- Returns:
- The message text as set on the builder.
-
builder
-