Package com.vonage.client.messages.rcs
Class RcsTextRequest
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.messages.MessageRequest
com.vonage.client.messages.rcs.RcsRequest
com.vonage.client.messages.rcs.RcsTextRequest
- All Implemented Interfaces:
Jsonable,TextMessageRequest
Channel.RCS, MessageType.TEXT request.- Since:
- 8.11.0
-
Nested Class Summary
Nested Classes -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RcsTextRequest.Builderbuilder()getText()Get thetextfield of the message.protected intSets the maximum text length for text messages.Methods inherited from class com.vonage.client.messages.rcs.RcsRequest
getTtlMethods inherited from class com.vonage.client.messages.MessageRequest
getChannel, getClientRef, getCustom, getFrom, getMessageType, getTo, getWebhookUrl, getWebhookVersion, validateClientReference, validateSenderAndRecipientMethods 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
-