public class ReceivedModel
extends BusinessChatCommonModel
Common model for different types of message in Business Chat See https://developer.apple.com/documentation/businesschatapi/messages_received/receiving_messages_from_the_business_chat_service
message : the body contains the message
interactive message : simple list picker response. Datas are in the InteractiveData
large interactive message : list picker with icons. Datas are in th InteractiveDataRef
rich link data : url with image loaded
public ReceivedModel(@NotNull
java.lang.String sourceId,
@NotNull
java.lang.String destinationId,
@Nullable
java.lang.String body,
@Nullable
InteractiveData interactiveData,
@Nullable
InteractiveDataRef interactiveDataRef,
@Nullable
RichLinkData richLinkData,
@Nullable
HandoverData handoverData)
Common model for different types of message in Business Chat See https://developer.apple.com/documentation/businesschatapi/messages_received/receiving_messages_from_the_business_chat_service
message : the body contains the message
interactive message : simple list picker response. Datas are in the InteractiveData
large interactive message : list picker with icons. Datas are in th InteractiveDataRef
rich link data : url with image loaded
@Nullable public java.lang.String getBody()
@Nullable public InteractiveData getInteractiveData()
@Nullable public InteractiveDataRef getInteractiveDataRef()
@Nullable public RichLinkData getRichLinkData()
@Nullable public HandoverData getHandoverData()