Google Chat V1 API - Class Google::Apps::Chat::V1::Thread (v0.18.0) Stay organized with collections Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::Thread.
A thread in a Google Chat space. For example usage, seeStart or reply to a messagethread.
If you specify a thread when creating a message, you can set themessageReplyOptionfield to determine what happens if no matching thread is found.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
defname()->::String- (::String) — Identifier. Resource name of the thread.
Example:
spaces/{space}/threads/{thread}
#name=
defname=(value)->::String- value (::String) — Identifier. Resource name of the thread.
Example:
spaces/{space}/threads/{thread}
- (::String) — Identifier. Resource name of the thread.
Example:
spaces/{space}/threads/{thread}
#thread_key
defthread_key()->::String- (::String) — 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, ifmultiple Chat apps create a message using the same thread key,the messages are posted in different threads. To reply in athread created by a person or another Chat app, specify the thread
namefield instead.
#thread_key=
defthread_key=(value)->::String- value (::String) — 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, ifmultiple Chat apps create a message using the same thread key,the messages are posted in different threads. To reply in athread created by a person or another Chat app, specify the thread
namefield instead.
- (::String) — 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, ifmultiple Chat apps create a message using the same thread key,the messages are posted in different threads. To reply in athread created by a person or another Chat app, specify the thread
namefield instead.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-16 UTC.