AI-generated Key Takeaways
-
ThreadReadState resource indicates a user's read status within a specific thread, helping to distinguish between read and unread messages.
-
It is represented in JSON format with
nameandlastReadTimefields, specifying the resource name and the timestamp of the last read message. -
You can retrieve details about a user's ThreadReadState using the
getThreadReadStatemethod to identify read and unread messages within a thread.
Resource: ThreadReadState
A user's read state within a thread, used to identify read and unread messages.
| JSON representation |
|---|
{ "name": string, "lastReadTime": string } |
| Fields | |
|---|---|
name |
Resource name of the thread read state. Format: |
lastReadTime |
The time when the user's thread read state was updated. Usually this corresponds with the timestamp of the last read message in a thread. |
Methods |
|
|---|---|
|
Returns details about a user's read state within a thread, used to identify read and unread messages. |