REST Resource: users.spaces.threads

  • 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 name and lastReadTime fields, specifying the resource name and the timestamp of the last read message.

  • You can retrieve details about a user's ThreadReadState using the getThreadReadState method 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

string

Resource name of the thread read state.

Format: users/{user}/spaces/{space}/threads/{thread}/threadReadState

lastReadTime

string (Timestamp format)

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

getThreadReadState

Returns details about a user's read state within a thread, used to identify read and unread messages.