Google Chat API (chat:v1)

2026-11-16

1 new method

Additions

    Methods
  • ▼ ▲ chat.users.spaces.threads.updateThreadReadState

      HTTP Method : PATCH

      Parameters :

        updateMask

          Location : query

          Type : string

          Description : Required. The field paths to update. Currently supported field paths: - `last_read_time` When `last_read_time` is before the latest message create time, the thread appears as unread in the UI. To mark the thread as read, set `last_read_time` to a timestamp equal to or later than the latest message create time. Future timestamps are coerced to the current request time. Setting a negative timestamp (before `1970-01-01T00:00:00Z`) returns an `INVALID_ARGUMENT` error.

          Format : google-fieldmask

        name

          Location : path

          Description : Resource name of the thread read state. Format: `users/{user}/spaces/{space}/threads/{thread}/threadReadState`

          Pattern : ^users/[^/]+/spaces/[^/]+/threads/[^/]+/threadReadState$

          Required : Yes

          Type : string

      Description : Updates a user's read state within a thread, used to identify read and unread messages. For an example, see [Update a user's thread read state](https://developers.google.com/workspace/chat/update-thread-read-state). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with the [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.users.readstate`

      Scopes : https://www.googleapis.com/auth/chat.users.readstate

      Flat Path : v1/users/{usersId}/spaces/{spacesId}/threads/{threadsId}/threadReadState

      Parameter Order : name

      Path : v1/{+name}