View Source GoogleApi.Chat.V1.Model.SpaceReadState (google_api_chat v0.37.0)

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

Attributes

  • lastReadTime (type: DateTime.t, default: nil) - Optional. The time when the user's space read state was updated. Usually this corresponds with either the timestamp of the last read message, or a timestamp specified by the user to mark the last read position in a space.
  • name (type: String.t, default: nil) - Resource name of the space read state. Format: users/{user}/spaces/{space}/spaceReadState

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.