ChatThreadItem Class
- java.
lang. Object - com.
azure. communication. chat. models. ChatThreadItem
- com.
public final class ChatThreadItem
Summary information of a chat thread.
Constructor Summary
Constructor | Description |
---|---|
ChatThreadItem() |
Creates an instance of Chat |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
getDeletedOn()
Get the deleted |
String |
getId()
Get the id property: Chat thread id. |
Offset |
getLastMessageReceivedOn()
Get the last |
String |
getTopic()
Get the topic property: Chat thread topic. |
Chat |
setDeletedOn(OffsetDateTime deletedOn)
Set the deleted |
Chat |
setId(String id)
Set the id property: Chat thread id. |
Chat |
setTopic(String topic)
Set the topic property: Chat thread topic. |
Methods inherited from java.lang.Object
Constructor Details
ChatThreadItem
public ChatThreadItem()
Creates an instance of ChatThreadItem class.
Method Details
getDeletedOn
public OffsetDateTime 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:
getId
public String getId()
Get the id property: Chat thread id.
Returns:
getLastMessageReceivedOn
public OffsetDateTime 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:
getTopic
public String getTopic()
Get the topic property: Chat thread topic.
Returns:
setDeletedOn
public ChatThreadItem setDeletedOn(OffsetDateTime deletedOn)
Set the deletedOn property: The timestamp when the chat thread was deleted. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.
Parameters:
Returns:
setId
public ChatThreadItem setId(String id)
Set the id property: Chat thread id.
Parameters:
Returns:
setTopic
public ChatThreadItem setTopic(String topic)
Set the topic property: Chat thread topic.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for