Class ChatParticipant

java.lang.Object
com.azure.communication.chat.models.ChatParticipant

public final class ChatParticipant extends Object
The ChatParticipant model.
  • Constructor Details

    • ChatParticipant

      public ChatParticipant()
  • Method Details

    • getCommunicationIdentifier

      public CommunicationIdentifier 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

      public ChatParticipant setCommunicationIdentifier(CommunicationIdentifier communicationIdentifier)
      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

      public String getDisplayName()
      Get the displayName property: Display name for the chat participant.
      Returns:
      the displayName value.
    • setDisplayName

      public ChatParticipant setDisplayName(String displayName)
      Set the displayName property: Display name for the chat participant.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the ChatParticipant object itself.
    • getShareHistoryTime

      public OffsetDateTime getShareHistoryTime()
      Get the shareHistoryTime property: Time from which the chat history is shared with the chat participant. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.
      Returns:
      the shareHistoryTime value.
    • setShareHistoryTime

      public ChatParticipant setShareHistoryTime(OffsetDateTime shareHistoryTime)
      Set the shareHistoryTime property: Time from which the chat history is shared with the chat participant. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.
      Parameters:
      shareHistoryTime - the shareHistoryTime value to set.
      Returns:
      the ChatThreadMember object itself.