Package com.mypurecloud.sdk.v2.model
Class ConversationMessageContent
java.lang.Object
com.mypurecloud.sdk.v2.model.ConversationMessageContent
- All Implemented Interfaces:
Serializable
Message content element. If contentType = \"Attachment\" only one item is allowed.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of this content element. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachment(ConversationContentAttachment attachment) Attachment content.buttonResponse(ConversationContentButtonResponse buttonResponse) Button response content.card(ConversationContentCard card) Card contentcarousel(ConversationContentCarousel carousel) Carousel contentcontentType(ConversationMessageContent.ContentTypeEnum contentType) Type of this content element.datePicker(ConversationContentDatePicker datePicker) Date picker content.booleanform(ConversationContentForm form) Form content.getCard()getForm()getPush()getStory()getText()inthashCode()interactiveApplication(ConversationContentInteractiveApplication interactiveApplication) InteractiveApplication content.listPicker(ConversationContentListPicker listPicker) List picker content.location(ConversationContentLocation location) Location content.notificationResponse(ConversationContentNotificationResponse notificationResponse) Notification response content, e.g. an Apple Invitation acceptance.paymentRequest(ConversationContentPaymentRequest paymentRequest) Payment request content.paymentResponse(ConversationContentPaymentResponse paymentResponse) Payment response content.push(ConversationContentPush push) Push content.quickReply(ConversationContentQuickReply quickReply) Quick reply content.quickReplyV2(ConversationContentQuickReplyV2 quickReplyV2) Quick reply V2 content.reactions(List<ConversationContentReaction> reactions) A set of reactions to a message.voidsetAttachment(ConversationContentAttachment attachment) voidsetButtonResponse(ConversationContentButtonResponse buttonResponse) voidvoidsetCarousel(ConversationContentCarousel carousel) voidsetContentType(ConversationMessageContent.ContentTypeEnum contentType) voidsetDatePicker(ConversationContentDatePicker datePicker) voidvoidsetInteractiveApplication(ConversationContentInteractiveApplication interactiveApplication) voidsetListPicker(ConversationContentListPicker listPicker) voidsetLocation(ConversationContentLocation location) voidsetNotificationResponse(ConversationContentNotificationResponse notificationResponse) voidsetPaymentRequest(ConversationContentPaymentRequest paymentRequest) voidsetPaymentResponse(ConversationContentPaymentResponse paymentResponse) voidvoidsetQuickReply(ConversationContentQuickReply quickReply) voidsetQuickReplyV2(ConversationContentQuickReplyV2 quickReplyV2) voidsetReactions(List<ConversationContentReaction> reactions) voidsetStory(ConversationContentStory story) voidvoidstory(ConversationContentStory story) Ephemeral story content.Template notification content.text(ConversationContentText text) Text content.toString()
-
Constructor Details
-
ConversationMessageContent
public ConversationMessageContent() -
ConversationMessageContent
-
-
Method Details
-
contentType
public ConversationMessageContent contentType(ConversationMessageContent.ContentTypeEnum contentType) Type of this content element. -
getContentType
-
setContentType
-
location
Location content. -
getLocation
-
setLocation
-
attachment
Attachment content. -
getAttachment
-
setAttachment
-
quickReply
Quick reply content. -
getQuickReply
-
setQuickReply
-
buttonResponse
Button response content. -
getButtonResponse
-
setButtonResponse
-
template
Template notification content. -
getTemplate
-
setTemplate
-
story
Ephemeral story content. -
getStory
-
setStory
-
card
Card content -
getCard
-
setCard
-
carousel
Carousel content -
getCarousel
-
setCarousel
-
text
Text content. -
getText
-
setText
-
quickReplyV2
Quick reply V2 content. -
getQuickReplyV2
-
setQuickReplyV2
-
reactions
A set of reactions to a message. -
getReactions
-
setReactions
-
datePicker
Date picker content. -
getDatePicker
-
setDatePicker
-
interactiveApplication
public ConversationMessageContent interactiveApplication(ConversationContentInteractiveApplication interactiveApplication) InteractiveApplication content. -
getInteractiveApplication
-
setInteractiveApplication
public void setInteractiveApplication(ConversationContentInteractiveApplication interactiveApplication) -
listPicker
List picker content. -
getListPicker
-
setListPicker
-
paymentRequest
Payment request content. -
getPaymentRequest
-
setPaymentRequest
-
paymentResponse
public ConversationMessageContent paymentResponse(ConversationContentPaymentResponse paymentResponse) Payment response content. -
getPaymentResponse
-
setPaymentResponse
-
push
Push content. -
getPush
-
setPush
-
form
Form content. -
getForm
-
setForm
-
notificationResponse
public ConversationMessageContent notificationResponse(ConversationContentNotificationResponse notificationResponse) Notification response content, e.g. an Apple Invitation acceptance. -
getNotificationResponse
-
setNotificationResponse
-
equals
-
hashCode
public int hashCode() -
toString
-