Class ChatThreadItem
java.lang.Object
com.azure.communication.chat.models.ChatThreadItem
Summary information of a chat thread.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the deletedOn property: The timestamp when the chat thread was deleted.getId()
Get the id property: Chat thread id.Get the lastMessageReceivedOn property: The timestamp when the last message arrived at the server.getTopic()
Get the topic property: Chat thread topic.setDeletedOn
(OffsetDateTime deletedOn) Set the deletedOn property: The timestamp when the chat thread was deleted.Set the id property: Chat thread id.Set the topic property: Chat thread topic.
-
Constructor Details
-
ChatThreadItem
public ChatThreadItem()
-
-
Method Details
-
getId
Get the id property: Chat thread id.- Returns:
- the id value.
-
setId
Set the id property: Chat thread id.- Parameters:
id
- the id value to set.- Returns:
- the ChatThreadItem object itself.
-
getTopic
Get the topic property: Chat thread topic.- Returns:
- the topic value.
-
setTopic
Set the topic property: Chat thread topic.- Parameters:
topic
- the topic value to set.- Returns:
- the ChatThreadItem object itself.
-
getDeletedOn
Get the deletedOn property: The timestamp when the chat thread was deleted. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.- Returns:
- the deletedOn value.
-
setDeletedOn
Set the deletedOn property: The timestamp when the chat thread was deleted. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.- Parameters:
deletedOn
- the deletedOn value to set.- Returns:
- the ChatThreadItem object itself.
-
getLastMessageReceivedOn
Get the lastMessageReceivedOn property: The timestamp when the last message arrived at the server. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.- Returns:
- the lastMessageReceivedOn value.
-