Package com.mypurecloud.sdk.v2.model
Class ChatMessage
java.lang.Object
com.mypurecloud.sdk.v2.model.ChatMessage
- All Implemented Interfaces:
Serializable
ChatMessage
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of the message body (v2 chats only) -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe message bodybodyType(ChatMessage.BodyTypeEnum bodyType) Type of the message body (v2 chats only)The interaction id (if available)booleanThe message sendergetBody()getChat()getFrom()getId()getTo()getType()getUser()getUtc()inthashCode()The message idparticipantPurpose(String participantPurpose) Participant purpose of sender (v2 chats only)senderCommunicationId(String senderCommunicationId) Communication of sender (v2 chats only)voidvoidsetBodyType(ChatMessage.BodyTypeEnum bodyType) voidvoidvoidvoidsetMessage(String message) voidsetParticipantPurpose(String participantPurpose) voidsetSenderCommunicationId(String senderCommunicationId) voidvoidvoidsetUser(ChatMessageUser user) voidThe message recipienttoString()user(ChatMessageUser user) The user information for the sender (if available)
-
Constructor Details
-
ChatMessage
public ChatMessage() -
ChatMessage
-
-
Method Details
-
body
The message body -
getBody
-
setBody
-
id
-
getId
-
setId
-
to
The message recipient -
getTo
-
setTo
-
from
The message sender -
getFrom
-
setFrom
-
utc
-
getUtc
-
setUtc
-
chat
The interaction id (if available) -
getChat
-
setChat
-
message
The message id -
getMessage
-
setMessage
-
type
-
getType
-
setType
-
bodyType
Type of the message body (v2 chats only) -
getBodyType
-
setBodyType
-
senderCommunicationId
Communication of sender (v2 chats only) -
getSenderCommunicationId
-
setSenderCommunicationId
-
participantPurpose
Participant purpose of sender (v2 chats only) -
getParticipantPurpose
-
setParticipantPurpose
-
user
The user information for the sender (if available) -
getUser
-
setUser
-
equals
-
hashCode
public int hashCode() -
toString
-