public final class ChatMessage
extends java.lang.Object
Constructor and Description |
---|
ChatMessage() |
Modifier and Type | Method and Description |
---|---|
ChatMessageContent |
getContent()
Get the content property: Content of a chat message.
|
org.threeten.bp.OffsetDateTime |
getCreatedOn()
Get the createdOn property: The timestamp when the chat message arrived at the server.
|
org.threeten.bp.OffsetDateTime |
getDeletedOn()
Get the deletedOn property: The timestamp (if applicable) when the message was deleted.
|
org.threeten.bp.OffsetDateTime |
getEditedOn()
Get the editedOn property: The last timestamp (if applicable) when the message was edited.
|
java.lang.String |
getId()
Get the id property: The id of the chat message.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata()
Get the metadata property: Message metadata.
|
CommunicationIdentifierModel |
getSenderCommunicationIdentifier()
Get the senderCommunicationIdentifier property: Identifies a participant in Azure Communication services.
|
java.lang.String |
getSenderDisplayName()
Get the senderDisplayName property: The display name of the chat message sender.
|
java.lang.String |
getSequenceId()
Get the sequenceId property: Sequence of the chat message in the conversation.
|
ChatMessageType |
getType()
Get the type property: The chat message type.
|
java.lang.String |
getVersion()
Get the version property: Version of the chat message.
|
ChatMessage |
setContent(ChatMessageContent content)
Set the content property: Content of a chat message.
|
ChatMessage |
setCreatedOn(org.threeten.bp.OffsetDateTime createdOn)
Set the createdOn property: The timestamp when the chat message arrived at the server.
|
ChatMessage |
setDeletedOn(org.threeten.bp.OffsetDateTime deletedOn)
Set the deletedOn property: The timestamp (if applicable) when the message was deleted.
|
ChatMessage |
setEditedOn(org.threeten.bp.OffsetDateTime editedOn)
Set the editedOn property: The last timestamp (if applicable) when the message was edited.
|
ChatMessage |
setId(java.lang.String id)
Set the id property: The id of the chat message.
|
ChatMessage |
setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
Set the metadata property: Message metadata.
|
ChatMessage |
setSenderCommunicationIdentifier(CommunicationIdentifierModel senderCommunicationIdentifier)
Set the senderCommunicationIdentifier property: Identifies a participant in Azure Communication services.
|
ChatMessage |
setSenderDisplayName(java.lang.String senderDisplayName)
Set the senderDisplayName property: The display name of the chat message sender.
|
ChatMessage |
setSequenceId(java.lang.String sequenceId)
Set the sequenceId property: Sequence of the chat message in the conversation.
|
ChatMessage |
setType(ChatMessageType type)
Set the type property: The chat message type.
|
ChatMessage |
setVersion(java.lang.String version)
Set the version property: Version of the chat message.
|
public java.lang.String getId()
public ChatMessage setId(java.lang.String id)
id
- the id value to set.public ChatMessageType getType()
public ChatMessage setType(ChatMessageType type)
type
- the type value to set.public java.lang.String getSequenceId()
public ChatMessage setSequenceId(java.lang.String sequenceId)
sequenceId
- the sequenceId value to set.public java.lang.String getVersion()
public ChatMessage setVersion(java.lang.String version)
version
- the version value to set.public ChatMessageContent getContent()
public ChatMessage setContent(ChatMessageContent content)
content
- the content value to set.public java.lang.String getSenderDisplayName()
public ChatMessage setSenderDisplayName(java.lang.String senderDisplayName)
senderDisplayName
- the senderDisplayName value to set.public org.threeten.bp.OffsetDateTime getCreatedOn()
public ChatMessage setCreatedOn(org.threeten.bp.OffsetDateTime createdOn)
createdOn
- the createdOn value to set.public CommunicationIdentifierModel getSenderCommunicationIdentifier()
public ChatMessage setSenderCommunicationIdentifier(CommunicationIdentifierModel senderCommunicationIdentifier)
senderCommunicationIdentifier
- the senderCommunicationIdentifier value to set.public org.threeten.bp.OffsetDateTime getDeletedOn()
public ChatMessage setDeletedOn(org.threeten.bp.OffsetDateTime deletedOn)
deletedOn
- the deletedOn value to set.public org.threeten.bp.OffsetDateTime getEditedOn()
public ChatMessage setEditedOn(org.threeten.bp.OffsetDateTime editedOn)
editedOn
- the editedOn value to set.public java.util.Map<java.lang.String,java.lang.String> getMetadata()
public ChatMessage setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
metadata
- the metadata value to set.