View Source GoogleApi.Chat.V1.Model.ThreadReadState (google_api_chat v0.40.0)

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

Attributes

  • lastReadTime (type: DateTime.t, default: nil) - 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.
  • name (type: String.t, default: nil) - Resource name of the thread read state. Format: users/{user}/spaces/{space}/threads/{thread}/threadReadState

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Chat.V1.Model.ThreadReadState{
  lastReadTime: DateTime.t() | nil,
  name: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.