Class ChatParticipant
java.lang.Object
com.azure.communication.chat.models.ChatParticipant
The ChatParticipant model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the communicationIdentifier property: Identifies a participant in Azure Communication services.Get the displayName property: Display name for the chat participant.Get the shareHistoryTime property: Time from which the chat history is shared with the chat participant.setCommunicationIdentifier
(CommunicationIdentifier communicationIdentifier) Set the communicationIdentifier property: Identifies a participant in Azure Communication services.setDisplayName
(String displayName) Set the displayName property: Display name for the chat participant.setShareHistoryTime
(OffsetDateTime shareHistoryTime) Set the shareHistoryTime property: Time from which the chat history is shared with the chat participant.
-
Constructor Details
-
ChatParticipant
public ChatParticipant()
-
-
Method Details
-
getCommunicationIdentifier
Get the communicationIdentifier property: Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model must be interpreted as a union: Apart from rawId, at most one further property may be set.- Returns:
- the communicationIdentifier value.
-
setCommunicationIdentifier
Set the communicationIdentifier property: Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model must be interpreted as a union: Apart from rawId, at most one further property may be set.- Parameters:
communicationIdentifier
- the communicationIdentifier value to set.- Returns:
- the ChatParticipant object itself.
-
getDisplayName
Get the displayName property: Display name for the chat participant.- Returns:
- the displayName value.
-
setDisplayName
Set the displayName property: Display name for the chat participant.- Parameters:
displayName
- the displayName value to set.- Returns:
- the ChatParticipant object itself.
-