Class ChatMessageReadReceipt
java.lang.Object
com.azure.communication.chat.models.ChatMessageReadReceipt
The ChatMessageReadReceipt model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the chatMessageId property: Id for the chat message that has been read.Get the readOn property: Read receipt timestamp.Get the sender property: Identifies a participant in Azure Communication services.setChatMessageId
(String chatMessageId) Set the chatMessageId property: Id for the chat message that has been read.setReadOn
(OffsetDateTime readOn) Set the readOn property: Read receipt timestamp.setSender
(CommunicationIdentifier sender) Set the sender property: Identifies a participant in Azure Communication services.
-
Constructor Details
-
ChatMessageReadReceipt
public ChatMessageReadReceipt()
-
-
Method Details
-
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
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
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
Get the readOn property: Read receipt timestamp. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.- Returns:
- the readOn value.
-
setReadOn
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.
-