Google Chat V1 API - Class Google::Apps::Chat::V1::ThreadReadState (v0.5.1)

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

A user's read state within a thread, 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) — 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.

#last_read_time=

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

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

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

#name=

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

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

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

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