Package com.mypurecloud.sdk.v2.model
Class SendAgentlessOutboundMessageRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.SendAgentlessOutboundMessageRequest
- All Implemented Interfaces:
Serializable
SendAgentlessOutboundMessageRequest
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe recipient messaging address messenger type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfromAddress(String fromAddress) The messaging address of the sender of the message.inthashCode()messagingTemplate(SendMessagingTemplateRequest messagingTemplate) The messaging template to use in the case of WhatsApp messenger type.voidsetFromAddress(String fromAddress) voidsetMessagingTemplate(SendMessagingTemplateRequest messagingTemplate) voidsetTextBody(String textBody) voidsetToAddress(String toAddress) voidsetToAddressMessengerType(SendAgentlessOutboundMessageRequest.ToAddressMessengerTypeEnum toAddressMessengerType) voidsetUseExistingActiveConversation(Boolean useExistingActiveConversation) The text of the message to send.The messaging address of the recipient of the message.toAddressMessengerType(SendAgentlessOutboundMessageRequest.ToAddressMessengerTypeEnum toAddressMessengerType) The recipient messaging address messenger type.toString()useExistingActiveConversation(Boolean useExistingActiveConversation) Use an existing active conversation to send the agentless outbound message.
-
Constructor Details
-
SendAgentlessOutboundMessageRequest
public SendAgentlessOutboundMessageRequest() -
SendAgentlessOutboundMessageRequest
-
-
Method Details
-
fromAddress
The messaging address of the sender of the message. For an SMS messenger type, this must be a currently provisioned SMS phone number. For a WhatsApp messenger type use the provisioned WhatsApp integration’s ID -
getFromAddress
-
setFromAddress
-
toAddress
The messaging address of the recipient of the message. For an SMS messenger type, the phone number address must be in E.164 format. E.g. +13175555555 or +34234234234. For WhatsApp messenger type, use a WhatsApp ID of a phone number. E.g for a E.164 formatted phone number `+13175555555`, a WhatsApp ID would be 13175555555. -
getToAddress
-
setToAddress
-
toAddressMessengerType
public SendAgentlessOutboundMessageRequest toAddressMessengerType(SendAgentlessOutboundMessageRequest.ToAddressMessengerTypeEnum toAddressMessengerType) The recipient messaging address messenger type. -
getToAddressMessengerType
-
setToAddressMessengerType
public void setToAddressMessengerType(SendAgentlessOutboundMessageRequest.ToAddressMessengerTypeEnum toAddressMessengerType) -
textBody
The text of the message to send. This field is required in the case of SMS messenger type. Maximum character counts are: SMS - 765 characters, other channels - 2000 characters. -
getTextBody
-
setTextBody
-
messagingTemplate
public SendAgentlessOutboundMessageRequest messagingTemplate(SendMessagingTemplateRequest messagingTemplate) The messaging template to use in the case of WhatsApp messenger type. This field is required when using WhatsApp messenger type -
getMessagingTemplate
-
setMessagingTemplate
-
useExistingActiveConversation
public SendAgentlessOutboundMessageRequest useExistingActiveConversation(Boolean useExistingActiveConversation) Use an existing active conversation to send the agentless outbound message. Set this parameter to 'true' to use active conversation. Default value: false -
getUseExistingActiveConversation
-
setUseExistingActiveConversation
-
equals
-
hashCode
public int hashCode() -
toString
-