public final class ChatMessageContent
extends java.lang.Object
Constructor and Description |
---|
ChatMessageContent() |
Modifier and Type | Method and Description |
---|---|
CommunicationIdentifierModel |
getInitiatorCommunicationIdentifier()
Get the initiatorCommunicationIdentifier property: Identifies a participant in Azure Communication services.
|
java.lang.String |
getMessage()
Get the message property: Chat message content for messages of types text or html.
|
java.util.List<ChatParticipant> |
getParticipants()
Get the participants property: Chat message content for messages of types participantAdded or participantRemoved.
|
java.lang.String |
getTopic()
Get the topic property: Chat message content for messages of type topicUpdated.
|
ChatMessageContent |
setInitiatorCommunicationIdentifier(CommunicationIdentifierModel initiatorCommunicationIdentifier)
Set the initiatorCommunicationIdentifier property: Identifies a participant in Azure Communication services.
|
ChatMessageContent |
setMessage(java.lang.String message)
Set the message property: Chat message content for messages of types text or html.
|
ChatMessageContent |
setParticipants(java.util.List<ChatParticipant> participants)
Set the participants property: Chat message content for messages of types participantAdded or participantRemoved.
|
ChatMessageContent |
setTopic(java.lang.String topic)
Set the topic property: Chat message content for messages of type topicUpdated.
|
public java.lang.String getMessage()
public ChatMessageContent setMessage(java.lang.String message)
message
- the message value to set.public java.lang.String getTopic()
public ChatMessageContent setTopic(java.lang.String topic)
topic
- the topic value to set.public java.util.List<ChatParticipant> getParticipants()
public ChatMessageContent setParticipants(java.util.List<ChatParticipant> participants)
participants
- the participants value to set.public CommunicationIdentifierModel getInitiatorCommunicationIdentifier()
public ChatMessageContent setInitiatorCommunicationIdentifier(CommunicationIdentifierModel initiatorCommunicationIdentifier)
initiatorCommunicationIdentifier
- the initiatorCommunicationIdentifier value to set.