Class: Google::Apps::Chat::V1::Thread
- Inherits:
-
Object
- Object
- Google::Apps::Chat::V1::Thread
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/chat/v1/message.rb
Overview
A thread in a Google Chat space. For example usage, see Start or reply to a message thread.
If you specify a thread when creating a message, you can set the
messageReplyOption
field to determine what happens if no matching thread is found.
Instance Attribute Summary collapse
-
#name ⇒ ::String
Identifier.
-
#thread_key ⇒ ::String
Optional.
Instance Attribute Details
#name ⇒ ::String
Returns Identifier. Resource name of the thread.
Example: spaces/{space}/threads/{thread}
.
270 271 272 273 |
# File 'proto_docs/google/chat/v1/message.rb', line 270 class Thread include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#thread_key ⇒ ::String
Returns Optional. Input for creating or updating a thread. Otherwise, output only. ID for the thread. Supports up to 4000 characters.
This ID is unique to the Chat app that sets it. For example, if
multiple Chat apps create a message using the same thread key,
the messages are posted in different threads. To reply in a
thread created by a person or another Chat app, specify the thread name
field instead.
270 271 272 273 |
# File 'proto_docs/google/chat/v1/message.rb', line 270 class Thread include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |