@maxim_mazurok/gapi.client.chat-v1 0.1.20260113 → 0.1.20260120
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/index.d.ts +25 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://chat.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260120
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -308,6 +308,12 @@ declare namespace gapi.client {
|
|
|
308
308
|
/** List of action parameters. */
|
|
309
309
|
parameters?: ActionParameter[];
|
|
310
310
|
}
|
|
311
|
+
interface ForwardedMetadata {
|
|
312
|
+
/** Output only. The resource name of the source space. Format: spaces/{space} */
|
|
313
|
+
space?: string;
|
|
314
|
+
/** Output only. The display name of the source space or DM at the time of forwarding. For `SPACE`, this is the space name. For `DIRECT_MESSAGE`, this is the other participant's name (e.g., "User A"). For `GROUP_CHAT`, this is a generated name based on members' first names, limited to 5 including the creator (e.g., "User A, User B"). */
|
|
315
|
+
spaceDisplayName?: string;
|
|
316
|
+
}
|
|
311
317
|
interface GoogleAppsCardV1Action {
|
|
312
318
|
/** Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): */
|
|
313
319
|
allWidgetsAreRequired?: boolean;
|
|
@@ -1093,10 +1099,28 @@ declare namespace gapi.client {
|
|
|
1093
1099
|
useAtMentionAll?: PermissionSetting;
|
|
1094
1100
|
}
|
|
1095
1101
|
interface QuotedMessageMetadata {
|
|
1102
|
+
/** Output only. Metadata about the source space of the quoted message. Populated only for FORWARD quote type. */
|
|
1103
|
+
forwardedMetadata?: ForwardedMetadata;
|
|
1096
1104
|
/** Required. The timestamp when the quoted message was created or when the quoted message was last updated. If the message was edited, use this field, `last_update_time`. If the message was never edited, use `create_time`. If `last_update_time` doesn't match the latest version of the quoted message, the request fails. */
|
|
1097
1105
|
lastUpdateTime?: string;
|
|
1098
1106
|
/** Required. Resource name of the message that is quoted. Format: `spaces/{space}/messages/{message}` */
|
|
1099
1107
|
name?: string;
|
|
1108
|
+
/** Output only. A snapshot of the quoted message's content. */
|
|
1109
|
+
quotedMessageSnapshot?: QuotedMessageSnapshot;
|
|
1110
|
+
/** Optional. Specifies the quote type. If not set, defaults to REPLY in the message read/write path for backward compatibility. */
|
|
1111
|
+
quoteType?: string;
|
|
1112
|
+
}
|
|
1113
|
+
interface QuotedMessageSnapshot {
|
|
1114
|
+
/** Output only. Annotations parsed from the text body of the quoted message. Populated only for FORWARD quote type. */
|
|
1115
|
+
annotations?: Annotation[];
|
|
1116
|
+
/** Output only. Attachments that were part of the quoted message. These are copies of the quoted message's attachment metadata. Populated only for FORWARD quote type. */
|
|
1117
|
+
attachments?: Attachment[];
|
|
1118
|
+
/** Output only. Contains the quoted message `text` with markups added to support rich formatting like hyperlinks,custom emojis, markup, etc. Populated only for FORWARD quote type. */
|
|
1119
|
+
formattedText?: string;
|
|
1120
|
+
/** Output only. The quoted message's author name. Populated for both REPLY & FORWARD quote types. */
|
|
1121
|
+
sender?: string;
|
|
1122
|
+
/** Output only. Snapshot of the quoted message's text content. */
|
|
1123
|
+
text?: string;
|
|
1100
1124
|
}
|
|
1101
1125
|
interface Reaction {
|
|
1102
1126
|
/** Required. The emoji used in the reaction. */
|