Class ChatMessageReadReceipt

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

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

    • ChatMessageReadReceipt

      public ChatMessageReadReceipt()
  • Method Details

    • getSender

      public CommunicationIdentifier getSender()
      Get the sender 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 sender value.
    • setSender

      Set the sender 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:
      sender - the sender value to set.
      Returns:
      the ChatMessageReadReceipt object itself.
    • getChatMessageId

      public String getChatMessageId()
      Get the chatMessageId property: Id for the chat message that has been read. This id is generated by the server.
      Returns:
      the chatMessageId value.
    • setChatMessageId

      public ChatMessageReadReceipt setChatMessageId(String chatMessageId)
      Set the chatMessageId property: Id for the chat message that has been read. This id is generated by the server.
      Parameters:
      chatMessageId - the chatMessageId value to set.
      Returns:
      the ChatMessageReadReceipt object itself.
    • getReadOn

      public OffsetDateTime getReadOn()
      Get the readOn property: Read receipt timestamp. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.
      Returns:
      the readOn value.
    • setReadOn

      public ChatMessageReadReceipt setReadOn(OffsetDateTime readOn)
      Set the readOn property: Read receipt timestamp. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.
      Parameters:
      readOn - the readOn value to set.
      Returns:
      the ChatMessageReadReceipt object itself.