Class: Google::Apps::Chat::V1::UpdateSpaceReadStateRequest
- Inherits:
-
Object
- Object
- Google::Apps::Chat::V1::UpdateSpaceReadStateRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/chat/v1/space_read_state.rb
Overview
Request message for UpdateSpaceReadState API.
Instance Attribute Summary collapse
-
#space_read_state ⇒ ::Google::Apps::Chat::V1::SpaceReadState
Required.
-
#update_mask ⇒ ::Google::Protobuf::FieldMask
Required.
Instance Attribute Details
#space_read_state ⇒ ::Google::Apps::Chat::V1::SpaceReadState
Returns Required. The space read state and fields to update.
Only supports updating read state for the calling user.
To refer to the calling user, set one of the following:
The
me
alias. For example,users/me/spaces/{space}/spaceReadState
.Their Workspace email address. For example,
users/[email protected]/spaces/{space}/spaceReadState
.Their user id. For example,
users/123456789/spaces/{space}/spaceReadState
.
Format: users/{user}/spaces/{space}/spaceReadState.
97 98 99 100 |
# File 'proto_docs/google/chat/v1/space_read_state.rb', line 97 class UpdateSpaceReadStateRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#update_mask ⇒ ::Google::Protobuf::FieldMask
Returns Required. The field paths to update. Currently supported field paths:
last_read_time
When the last_read_time
is before the latest message create time, the
space appears as unread in the UI.
To mark the space as read, set last_read_time
to any value later (larger)
than the latest message create time. The last_read_time
is coerced to
match the latest message create time. Note that the space read state only
affects the read state of messages that are visible in the space's
top-level conversation. Replies in threads are unaffected by this
timestamp, and instead rely on the thread read state.
97 98 99 100 |
# File 'proto_docs/google/chat/v1/space_read_state.rb', line 97 class UpdateSpaceReadStateRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |