azure-docs-sdk-java/docs-ref-autogen/com.azure.communication.cha...

108 строки
8.0 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.communication.chat.models.ChatMessageReadReceipt"
fullName: "com.azure.communication.chat.models.ChatMessageReadReceipt"
name: "ChatMessageReadReceipt"
nameWithType: "ChatMessageReadReceipt"
summary: "The Chat<wbr>Message<wbr>Read<wbr>Receipt model."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **ChatMessageReadReceipt**"
constructors:
- uid: "com.azure.communication.chat.models.ChatMessageReadReceipt.ChatMessageReadReceipt()"
fullName: "com.azure.communication.chat.models.ChatMessageReadReceipt.ChatMessageReadReceipt()"
name: "ChatMessageReadReceipt()"
nameWithType: "ChatMessageReadReceipt.ChatMessageReadReceipt()"
syntax: "public ChatMessageReadReceipt()"
methods:
- uid: "com.azure.communication.chat.models.ChatMessageReadReceipt.getChatMessageId()"
fullName: "com.azure.communication.chat.models.ChatMessageReadReceipt.getChatMessageId()"
name: "getChatMessageId()"
nameWithType: "ChatMessageReadReceipt.getChatMessageId()"
summary: "Get the chat<wbr>Message<wbr>Id property: Id for the chat message that has been read."
syntax: "public String getChatMessageId()"
desc: "Get the chatMessageId property: Id for the chat message that has been read. This id is generated by the server."
returns:
description: "the chatMessageId value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.communication.chat.models.ChatMessageReadReceipt.getReadOn()"
fullName: "com.azure.communication.chat.models.ChatMessageReadReceipt.getReadOn()"
name: "getReadOn()"
nameWithType: "ChatMessageReadReceipt.getReadOn()"
summary: "Get the read<wbr>On property: Read receipt timestamp."
syntax: "public OffsetDateTime getReadOn()"
desc: "Get the readOn property: Read receipt timestamp. The timestamp is in RFC3339 format: \\`yyyy-MM-ddTHH:mm:ssZ\\`."
returns:
description: "the readOn value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
- uid: "com.azure.communication.chat.models.ChatMessageReadReceipt.getSender()"
fullName: "com.azure.communication.chat.models.ChatMessageReadReceipt.getSender()"
name: "getSender()"
nameWithType: "ChatMessageReadReceipt.getSender()"
summary: "Get the sender property: Identifies a participant in Azure Communication services."
syntax: "public CommunicationIdentifier getSender()"
desc: "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:
description: "the sender value."
type: "<xref href=\"com.azure.communication.common.CommunicationIdentifier?alt=com.azure.communication.common.CommunicationIdentifier&text=CommunicationIdentifier\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.chat.models.ChatMessageReadReceipt.setChatMessageId(java.lang.String)"
fullName: "com.azure.communication.chat.models.ChatMessageReadReceipt.setChatMessageId(String chatMessageId)"
name: "setChatMessageId(String chatMessageId)"
nameWithType: "ChatMessageReadReceipt.setChatMessageId(String chatMessageId)"
summary: "Set the chat<wbr>Message<wbr>Id property: Id for the chat message that has been read."
parameters:
- description: "the chatMessageId value to set."
name: "chatMessageId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public ChatMessageReadReceipt setChatMessageId(String chatMessageId)"
desc: "Set the chatMessageId property: Id for the chat message that has been read. This id is generated by the server."
returns:
description: "the ChatMessageReadReceipt object itself."
type: "<xref href=\"com.azure.communication.chat.models.ChatMessageReadReceipt?alt=com.azure.communication.chat.models.ChatMessageReadReceipt&text=ChatMessageReadReceipt\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.chat.models.ChatMessageReadReceipt.setReadOn(java.time.OffsetDateTime)"
fullName: "com.azure.communication.chat.models.ChatMessageReadReceipt.setReadOn(OffsetDateTime readOn)"
name: "setReadOn(OffsetDateTime readOn)"
nameWithType: "ChatMessageReadReceipt.setReadOn(OffsetDateTime readOn)"
summary: "Set the read<wbr>On property: Read receipt timestamp."
parameters:
- description: "the readOn value to set."
name: "readOn"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
syntax: "public ChatMessageReadReceipt setReadOn(OffsetDateTime readOn)"
desc: "Set the readOn property: Read receipt timestamp. The timestamp is in RFC3339 format: \\`yyyy-MM-ddTHH:mm:ssZ\\`."
returns:
description: "the ChatMessageReadReceipt object itself."
type: "<xref href=\"com.azure.communication.chat.models.ChatMessageReadReceipt?alt=com.azure.communication.chat.models.ChatMessageReadReceipt&text=ChatMessageReadReceipt\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.chat.models.ChatMessageReadReceipt.setSender(com.azure.communication.common.CommunicationIdentifier)"
fullName: "com.azure.communication.chat.models.ChatMessageReadReceipt.setSender(CommunicationIdentifier sender)"
name: "setSender(CommunicationIdentifier sender)"
nameWithType: "ChatMessageReadReceipt.setSender(CommunicationIdentifier sender)"
summary: "Set the sender property: Identifies a participant in Azure Communication services."
parameters:
- description: "the sender value to set."
name: "sender"
type: "<xref href=\"com.azure.communication.common.CommunicationIdentifier?alt=com.azure.communication.common.CommunicationIdentifier&text=CommunicationIdentifier\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ChatMessageReadReceipt setSender(CommunicationIdentifier sender)"
desc: "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."
returns:
description: "the ChatMessageReadReceipt object itself."
type: "<xref href=\"com.azure.communication.chat.models.ChatMessageReadReceipt?alt=com.azure.communication.chat.models.ChatMessageReadReceipt&text=ChatMessageReadReceipt\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The ChatMessageReadReceipt model."
metadata: {}
package: "com.azure.communication.chat.models"
artifact: com.azure:azure-communication-chat:1.5.6