Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit bb922af

Browse files
committedJul 11, 2023
feat(chat): update the api
#### chat:v1 The following keys were added: - schemas.GoogleAppsCardV1DecoratedText.properties.icon.deprecated (Total Keys: 1) - schemas.Message.properties.cards.deprecated (Total Keys: 1) - schemas.Message.properties.quotedMessageMetadata (Total Keys: 2) - schemas.QuotedMessageMetadata (Total Keys: 7) - schemas.Space.properties.threaded.deprecated (Total Keys: 1) - schemas.Space.properties.type.deprecated (Total Keys: 1)
1 parent d0709e7 commit bb922af

File tree

2 files changed

+60
-1
lines changed

2 files changed

+60
-1
lines changed
 

‎docs/dyn/chat_v1.spaces.messages.html

+32
Original file line numberDiff line numberDiff line change
@@ -2069,6 +2069,10 @@ <h3>Method Details</h3>
20692069
&quot;url&quot;: &quot;A String&quot;, # Output only. The URL that was matched.
20702070
},
20712071
&quot;name&quot;: &quot;A String&quot;, # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`
2072+
&quot;quotedMessageMetadata&quot;: { # Information about a quoted message. # Output only. Information about a message that&#x27;s quoted by a Google Chat user in a space. Google Chat users can quote a message to reply to it.
2073+
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the quoted message was created or when the quoted message was last updated.
2074+
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the quoted message. Format: `spaces/{space}/messages/{message}`
2075+
},
20722076
&quot;sender&quot;: { # A user in Google Chat. # Output only. The user who created the message. If your Chat app [authenticates as a user](https://developers.google.com/chat/api/guides/auth/users), the output populates the [user](https://developers.google.com/chat/api/reference/rest/v1/User) `name` and `type`.
20732077
&quot;displayName&quot;: &quot;A String&quot;, # Output only. The user&#x27;s display name.
20742078
&quot;domainId&quot;: &quot;A String&quot;, # Unique identifier of the user&#x27;s Google Workspace domain.
@@ -4064,6 +4068,10 @@ <h3>Method Details</h3>
40644068
&quot;url&quot;: &quot;A String&quot;, # Output only. The URL that was matched.
40654069
},
40664070
&quot;name&quot;: &quot;A String&quot;, # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`
4071+
&quot;quotedMessageMetadata&quot;: { # Information about a quoted message. # Output only. Information about a message that&#x27;s quoted by a Google Chat user in a space. Google Chat users can quote a message to reply to it.
4072+
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the quoted message was created or when the quoted message was last updated.
4073+
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the quoted message. Format: `spaces/{space}/messages/{message}`
4074+
},
40674075
&quot;sender&quot;: { # A user in Google Chat. # Output only. The user who created the message. If your Chat app [authenticates as a user](https://developers.google.com/chat/api/guides/auth/users), the output populates the [user](https://developers.google.com/chat/api/reference/rest/v1/User) `name` and `type`.
40684076
&quot;displayName&quot;: &quot;A String&quot;, # Output only. The user&#x27;s display name.
40694077
&quot;domainId&quot;: &quot;A String&quot;, # Unique identifier of the user&#x27;s Google Workspace domain.
@@ -6077,6 +6085,10 @@ <h3>Method Details</h3>
60776085
&quot;url&quot;: &quot;A String&quot;, # Output only. The URL that was matched.
60786086
},
60796087
&quot;name&quot;: &quot;A String&quot;, # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`
6088+
&quot;quotedMessageMetadata&quot;: { # Information about a quoted message. # Output only. Information about a message that&#x27;s quoted by a Google Chat user in a space. Google Chat users can quote a message to reply to it.
6089+
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the quoted message was created or when the quoted message was last updated.
6090+
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the quoted message. Format: `spaces/{space}/messages/{message}`
6091+
},
60806092
&quot;sender&quot;: { # A user in Google Chat. # Output only. The user who created the message. If your Chat app [authenticates as a user](https://developers.google.com/chat/api/guides/auth/users), the output populates the [user](https://developers.google.com/chat/api/reference/rest/v1/User) `name` and `type`.
60816093
&quot;displayName&quot;: &quot;A String&quot;, # Output only. The user&#x27;s display name.
60826094
&quot;domainId&quot;: &quot;A String&quot;, # Unique identifier of the user&#x27;s Google Workspace domain.
@@ -8078,6 +8090,10 @@ <h3>Method Details</h3>
80788090
&quot;url&quot;: &quot;A String&quot;, # Output only. The URL that was matched.
80798091
},
80808092
&quot;name&quot;: &quot;A String&quot;, # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`
8093+
&quot;quotedMessageMetadata&quot;: { # Information about a quoted message. # Output only. Information about a message that&#x27;s quoted by a Google Chat user in a space. Google Chat users can quote a message to reply to it.
8094+
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the quoted message was created or when the quoted message was last updated.
8095+
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the quoted message. Format: `spaces/{space}/messages/{message}`
8096+
},
80818097
&quot;sender&quot;: { # A user in Google Chat. # Output only. The user who created the message. If your Chat app [authenticates as a user](https://developers.google.com/chat/api/guides/auth/users), the output populates the [user](https://developers.google.com/chat/api/reference/rest/v1/User) `name` and `type`.
80828098
&quot;displayName&quot;: &quot;A String&quot;, # Output only. The user&#x27;s display name.
80838099
&quot;domainId&quot;: &quot;A String&quot;, # Unique identifier of the user&#x27;s Google Workspace domain.
@@ -10084,6 +10100,10 @@ <h3>Method Details</h3>
1008410100
&quot;url&quot;: &quot;A String&quot;, # Output only. The URL that was matched.
1008510101
},
1008610102
&quot;name&quot;: &quot;A String&quot;, # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`
10103+
&quot;quotedMessageMetadata&quot;: { # Information about a quoted message. # Output only. Information about a message that&#x27;s quoted by a Google Chat user in a space. Google Chat users can quote a message to reply to it.
10104+
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the quoted message was created or when the quoted message was last updated.
10105+
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the quoted message. Format: `spaces/{space}/messages/{message}`
10106+
},
1008710107
&quot;sender&quot;: { # A user in Google Chat. # Output only. The user who created the message. If your Chat app [authenticates as a user](https://developers.google.com/chat/api/guides/auth/users), the output populates the [user](https://developers.google.com/chat/api/reference/rest/v1/User) `name` and `type`.
1008810108
&quot;displayName&quot;: &quot;A String&quot;, # Output only. The user&#x27;s display name.
1008910109
&quot;domainId&quot;: &quot;A String&quot;, # Unique identifier of the user&#x27;s Google Workspace domain.
@@ -12073,6 +12093,10 @@ <h3>Method Details</h3>
1207312093
&quot;url&quot;: &quot;A String&quot;, # Output only. The URL that was matched.
1207412094
},
1207512095
&quot;name&quot;: &quot;A String&quot;, # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`
12096+
&quot;quotedMessageMetadata&quot;: { # Information about a quoted message. # Output only. Information about a message that&#x27;s quoted by a Google Chat user in a space. Google Chat users can quote a message to reply to it.
12097+
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the quoted message was created or when the quoted message was last updated.
12098+
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the quoted message. Format: `spaces/{space}/messages/{message}`
12099+
},
1207612100
&quot;sender&quot;: { # A user in Google Chat. # Output only. The user who created the message. If your Chat app [authenticates as a user](https://developers.google.com/chat/api/guides/auth/users), the output populates the [user](https://developers.google.com/chat/api/reference/rest/v1/User) `name` and `type`.
1207712101
&quot;displayName&quot;: &quot;A String&quot;, # Output only. The user&#x27;s display name.
1207812102
&quot;domainId&quot;: &quot;A String&quot;, # Unique identifier of the user&#x27;s Google Workspace domain.
@@ -14062,6 +14086,10 @@ <h3>Method Details</h3>
1406214086
&quot;url&quot;: &quot;A String&quot;, # Output only. The URL that was matched.
1406314087
},
1406414088
&quot;name&quot;: &quot;A String&quot;, # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`
14089+
&quot;quotedMessageMetadata&quot;: { # Information about a quoted message. # Output only. Information about a message that&#x27;s quoted by a Google Chat user in a space. Google Chat users can quote a message to reply to it.
14090+
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the quoted message was created or when the quoted message was last updated.
14091+
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the quoted message. Format: `spaces/{space}/messages/{message}`
14092+
},
1406514093
&quot;sender&quot;: { # A user in Google Chat. # Output only. The user who created the message. If your Chat app [authenticates as a user](https://developers.google.com/chat/api/guides/auth/users), the output populates the [user](https://developers.google.com/chat/api/reference/rest/v1/User) `name` and `type`.
1406614094
&quot;displayName&quot;: &quot;A String&quot;, # Output only. The user&#x27;s display name.
1406714095
&quot;domainId&quot;: &quot;A String&quot;, # Unique identifier of the user&#x27;s Google Workspace domain.
@@ -16051,6 +16079,10 @@ <h3>Method Details</h3>
1605116079
&quot;url&quot;: &quot;A String&quot;, # Output only. The URL that was matched.
1605216080
},
1605316081
&quot;name&quot;: &quot;A String&quot;, # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`
16082+
&quot;quotedMessageMetadata&quot;: { # Information about a quoted message. # Output only. Information about a message that&#x27;s quoted by a Google Chat user in a space. Google Chat users can quote a message to reply to it.
16083+
&quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the quoted message was created or when the quoted message was last updated.
16084+
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the quoted message. Format: `spaces/{space}/messages/{message}`
16085+
},
1605416086
&quot;sender&quot;: { # A user in Google Chat. # Output only. The user who created the message. If your Chat app [authenticates as a user](https://developers.google.com/chat/api/guides/auth/users), the output populates the [user](https://developers.google.com/chat/api/reference/rest/v1/User) `name` and `type`.
1605516087
&quot;displayName&quot;: &quot;A String&quot;, # Output only. The user&#x27;s display name.
1605616088
&quot;domainId&quot;: &quot;A String&quot;, # Unique identifier of the user&#x27;s Google Workspace domain.

‎googleapiclient/discovery_cache/documents/chat.v1.json

+28-1
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@
954954
}
955955
}
956956
},
957-
"revision": "20230627",
957+
"revision": "20230706",
958958
"rootUrl": "https://chat.googleapis.com/",
959959
"schemas": {
960960
"ActionParameter": {
@@ -2041,6 +2041,7 @@
20412041
},
20422042
"icon": {
20432043
"$ref": "GoogleAppsCardV1Icon",
2044+
"deprecated": true,
20442045
"description": "Deprecated in favor of `startIcon`."
20452046
},
20462047
"onClick": {
@@ -3029,6 +3030,7 @@
30293030
"type": "array"
30303031
},
30313032
"cards": {
3033+
"deprecated": true,
30323034
"description": "Deprecated: Use `cards_v2` instead. Rich, formatted, and interactive cards that you can use to display UI elements such as: formatted texts, buttons, and clickable images. Cards are normally displayed below the plain-text body of the message. `cards` and `cards_v2` can have a maximum size of 32 KB.",
30333035
"items": {
30343036
"$ref": "Card"
@@ -3089,6 +3091,11 @@
30893091
"description": "Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`",
30903092
"type": "string"
30913093
},
3094+
"quotedMessageMetadata": {
3095+
"$ref": "QuotedMessageMetadata",
3096+
"description": "Output only. Information about a message that's quoted by a Google Chat user in a space. Google Chat users can quote a message to reply to it.",
3097+
"readOnly": true
3098+
},
30923099
"sender": {
30933100
"$ref": "User",
30943101
"description": "Output only. The user who created the message. If your Chat app [authenticates as a user](https://developers.google.com/chat/api/guides/auth/users), the output populates the [user](https://developers.google.com/chat/api/reference/rest/v1/User) `name` and `type`.",
@@ -3145,6 +3152,24 @@
31453152
},
31463153
"type": "object"
31473154
},
3155+
"QuotedMessageMetadata": {
3156+
"description": "Information about a quoted message.",
3157+
"id": "QuotedMessageMetadata",
3158+
"properties": {
3159+
"lastUpdateTime": {
3160+
"description": "Output only. The timestamp when the quoted message was created or when the quoted message was last updated.",
3161+
"format": "google-datetime",
3162+
"readOnly": true,
3163+
"type": "string"
3164+
},
3165+
"name": {
3166+
"description": "Output only. Resource name of the quoted message. Format: `spaces/{space}/messages/{message}`",
3167+
"readOnly": true,
3168+
"type": "string"
3169+
}
3170+
},
3171+
"type": "object"
3172+
},
31483173
"Reaction": {
31493174
"description": "A reaction to a message.",
31503175
"id": "Reaction",
@@ -3327,11 +3352,13 @@
33273352
"type": "string"
33283353
},
33293354
"threaded": {
3355+
"deprecated": true,
33303356
"description": "Output only. Deprecated: Use `spaceThreadingState` instead. Whether messages are threaded in this space.",
33313357
"readOnly": true,
33323358
"type": "boolean"
33333359
},
33343360
"type": {
3361+
"deprecated": true,
33353362
"description": "Output only. Deprecated: Use `space_type` instead. The type of a space.",
33363363
"enum": [
33373364
"TYPE_UNSPECIFIED",

0 commit comments

Comments
 (0)
Please sign in to comment.