@google-apps/chat 0.24.0 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -100,7 +100,6 @@ Samples are in the [`samples/`][homepage_samples] directory. Each sample's `READ
100
100
  | update space notification setting | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-chat/samples/generated/v1/chat_service.update_space_notification_setting.js) |
101
101
  | update space read state | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-chat/samples/generated/v1/chat_service.update_space_read_state.js) |
102
102
  | upload attachment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-chat/samples/generated/v1/chat_service.upload_attachment.js) |
103
- | chat | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-chat/samples/generated/v1/snippet_metadata_google.chat.v1.json) |
104
103
 
105
104
 
106
105
  ## Supported Node.js Versions
@@ -134,7 +133,7 @@ More Information: [Google Cloud Platform Launch Stages][launch_stages]
134
133
 
135
134
  ## Contributing
136
135
 
137
- Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-chat/CONTRIBUTING.md).
136
+ Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md).
138
137
 
139
138
  Please note that this `README.md`
140
139
  and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
@@ -144,7 +143,7 @@ are generated from a central template.
144
143
 
145
144
  Apache Version 2.0
146
145
 
147
- See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-chat/LICENSE)
146
+ See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
148
147
 
149
148
  [shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
150
149
  [projects]: https://console.cloud.google.com/project
@@ -281,10 +281,6 @@ message AttachedGif {
281
281
 
282
282
  // Information about a message that another message quotes.
283
283
  //
284
- // When you create a message, you can quote messages within the same
285
- // thread, or quote a root message to create a new root message.
286
- // However, you can't quote a message reply from a different thread.
287
- //
288
284
  // When you update a message, you can't add or replace the
289
285
  // `quotedMessageMetadata` field, but you can remove it.
290
286
  //
@@ -301,16 +297,21 @@ message QuotedMessageMetadata {
301
297
  // Reserved. This value is unused.
302
298
  QUOTE_TYPE_UNSPECIFIED = 0;
303
299
 
304
- // If quote_type is `REPLY`, you can do the following:
300
+ // When `quote_type` is `REPLY`, you can do the following:
305
301
  //
306
302
  // * If you're replying in a thread, you can quote another message in that
307
303
  // thread.
308
304
  //
309
305
  // * If you're creating a root message, you can quote another root message
310
306
  // in that space.
311
- //
312
- // You can't quote a message reply from a different thread.
313
307
  REPLY = 1;
308
+
309
+ // When `quote_type` is `FORWARD`, you can quote a:
310
+ //
311
+ // * Message from a different space.
312
+ //
313
+ // * Message reply from a different thread in the same space.
314
+ FORWARD = 2;
314
315
  }
315
316
 
316
317
  // Required. Resource name of the message that is quoted.