Google Chat V1 API - Class Google::Apps::Chat::V1::SpaceReadState (v0.1.2)

Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::SpaceReadState.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#last_read_time

def last_read_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — 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.

#last_read_time=

def last_read_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::Google::Protobuf::Timestamp) — 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.
Returns
  • (::Google::Protobuf::Timestamp) — 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

def name() -> ::String
Returns
  • (::String) — Resource name of the space read state.

    Format: users/{user}/spaces/{space}/spaceReadState

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Resource name of the space read state.

    Format: users/{user}/spaces/{space}/spaceReadState

Returns
  • (::String) — Resource name of the space read state.

    Format: users/{user}/spaces/{space}/spaceReadState