@maxim_mazurok/gapi.client.chat-v1 0.0.20230219 → 0.0.20230221
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 +6 -5
- package/package.json +1 -1
- package/tests.ts +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: 20230221
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -791,20 +791,21 @@ declare namespace gapi.client {
|
|
|
791
791
|
actionResponse?: ActionResponse;
|
|
792
792
|
/** Output only. Annotations associated with the text in this message. */
|
|
793
793
|
annotations?: Annotation[];
|
|
794
|
-
/** Plain-text body of the message with all Chat app mentions stripped out. */
|
|
794
|
+
/** Output only. Plain-text body of the message with all Chat app mentions stripped out. */
|
|
795
795
|
argumentText?: string;
|
|
796
796
|
/** User-uploaded attachment. */
|
|
797
797
|
attachment?: Attachment[];
|
|
798
798
|
/**
|
|
799
799
|
* Deprecated: Use `cards_v2` instead. Rich, formatted and interactive cards that can be used to display UI elements such as: formatted texts, buttons, clickable images. Cards are
|
|
800
|
-
* normally displayed below the plain-text body of the message.
|
|
800
|
+
* normally displayed below the plain-text body of the message. `cards` and `cards_v2` can have a maximum size of 32 KB.
|
|
801
801
|
*/
|
|
802
802
|
cards?: Card[];
|
|
803
803
|
/**
|
|
804
804
|
* Richly formatted and interactive cards that display UI elements and editable widgets, such as: - Formatted text - Buttons - Clickable images - Checkboxes - Radio buttons - Input
|
|
805
805
|
* widgets. Cards are usually displayed below the text body of a Chat message, but can situationally appear other places, such as
|
|
806
|
-
* [dialogs](https://developers.google.com/chat/how-tos/dialogs). The `cardId` is a unique identifier among cards in the same
|
|
807
|
-
* supported widgets include: - `TextParagraph` - `DecoratedText` - `Image` - `ButtonList` - `Divider`
|
|
806
|
+
* [dialogs](https://developers.google.com/chat/how-tos/dialogs). `cards_v2` and `cards` can have a maximum size of 32 KB. The `cardId` is a unique identifier among cards in the same
|
|
807
|
+
* message and for identifying user input values. Currently supported widgets include: - `TextParagraph` - `DecoratedText` - `Image` - `ButtonList` - `Divider` - `TextInput` -
|
|
808
|
+
* `SelectionInput` (CHECKBOX, RADIO_BUTTON, SWITCH, DROPDOWN) - `Grid`
|
|
808
809
|
*/
|
|
809
810
|
cardsV2?: CardWithId[];
|
|
810
811
|
/**
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230221
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|