Skip to content

Commit 10c4186

Browse files
feat(chat): update the api
#### chat:v1 The following keys were added: - resources.users.resources.spaces.methods.getSpaceReadState (Total Keys: 11) - resources.users.resources.spaces.methods.updateSpaceReadState (Total Keys: 15) - resources.users.resources.spaces.resources.threads.methods.getThreadReadState (Total Keys: 11) - schemas.CustomEmoji.properties.uid.readOnly (Total Keys: 1) - schemas.SpaceReadState (Total Keys: 5) - schemas.ThreadReadState (Total Keys: 5)
1 parent dbd03dd commit 10c4186

9 files changed

+530
-40
lines changed

docs/dyn/chat_v1.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ <h2>Instance Methods</h2>
8484
</p>
8585
<p class="firstline">Returns the spaces Resource.</p>
8686

87+
<p class="toc_element">
88+
<code><a href="chat_v1.users.html">users()</a></code>
89+
</p>
90+
<p class="firstline">Returns the users Resource.</p>
91+
8792
<p class="toc_element">
8893
<code><a href="#close">close()</a></code></p>
8994
<p class="firstline">Close httplib2 connections.</p>

docs/dyn/chat_v1.spaces.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ <h2>Instance Methods</h2>
109109
<p class="firstline">Returns details about a space. For an example, see [Get details about a space](https://developers.google.com/workspace/chat/get-spaces). Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).</p>
110110
<p class="toc_element">
111111
<code><a href="#list">list(filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
112-
<p class="firstline">Lists spaces the caller is a member of. Group chats and DMs aren't listed until the first message is sent. For an example, see [List spaces](https://developers.google.com/workspace/chat/list-spaces). Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). Lists spaces visible to the caller or authenticated user. Group chats and DMs aren't listed until the first message is sent.</p>
112+
<p class="firstline">Lists spaces the caller is a member of. Group chats and DMs aren't listed until the first message is sent. For an example, see [List spaces](https://developers.google.com/workspace/chat/list-spaces). Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). Lists spaces visible to the caller or authenticated user. Group chats and DMs aren't listed until the first message is sent. </p>
113113
<p class="toc_element">
114114
<code><a href="#list_next">list_next()</a></code></p>
115115
<p class="firstline">Retrieves the next page of results.</p>
@@ -311,7 +311,7 @@ <h3>Method Details</h3>
311311

312312
<div class="method">
313313
<code class="details" id="list">list(filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
314-
<pre>Lists spaces the caller is a member of. Group chats and DMs aren&#x27;t listed until the first message is sent. For an example, see [List spaces](https://developers.google.com/workspace/chat/list-spaces). Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). Lists spaces visible to the caller or authenticated user. Group chats and DMs aren&#x27;t listed until the first message is sent.
314+
<pre>Lists spaces the caller is a member of. Group chats and DMs aren&#x27;t listed until the first message is sent. For an example, see [List spaces](https://developers.google.com/workspace/chat/list-spaces). Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). Lists spaces visible to the caller or authenticated user. Group chats and DMs aren&#x27;t listed until the first message is sent.
315315

316316
Args:
317317
filter: string, Optional. A query filter. You can filter spaces by the space type ([`space_type`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces#spacetype)). To filter by space type, you must specify valid enum value, such as `SPACE` or `GROUP_CHAT` (the `space_type` can&#x27;t be `SPACE_TYPE_UNSPECIFIED`). To query for multiple space types, use the `OR` operator. For example, the following queries are valid: ``` space_type = &quot;SPACE&quot; spaceType = &quot;GROUP_CHAT&quot; OR spaceType = &quot;DIRECT_MESSAGE&quot; ``` Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.

docs/dyn/chat_v1.spaces.messages.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ <h2>Instance Methods</h2>
8989
<p class="firstline">Close httplib2 connections.</p>
9090
<p class="toc_element">
9191
<code><a href="#create">create(parent, body=None, messageId=None, messageReplyOption=None, requestId=None, threadKey=None, x__xgafv=None)</a></code></p>
92-
<p class="firstline">Creates a message in a Google Chat space. For an example, see [Send a message](https://developers.google.com/workspace/chat/create-messages). Calling this method requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize) and supports the following authentication types: - For text messages, user authentication or app authentication are supported. - For card messages, only app authentication is supported. (Only Chat apps can create card messages.)</p>
92+
<p class="firstline">Creates a message in a Google Chat space. The maximum message size, including text and cards, is 32,000 bytes. For an example, see [Send a message](https://developers.google.com/workspace/chat/create-messages). Calling this method requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize) and supports the following authentication types: - For text messages, user authentication or app authentication are supported. - For card messages, only app authentication is supported. (Only Chat apps can create card messages.)</p>
9393
<p class="toc_element">
9494
<code><a href="#delete">delete(name, force=None, x__xgafv=None)</a></code></p>
9595
<p class="firstline">Deletes a message. For an example, see [Delete a message](https://developers.google.com/workspace/chat/delete-messages). Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). When using app authentication, requests can only delete messages created by the calling Chat app.</p>
@@ -116,7 +116,7 @@ <h3>Method Details</h3>
116116

117117
<div class="method">
118118
<code class="details" id="create">create(parent, body=None, messageId=None, messageReplyOption=None, requestId=None, threadKey=None, x__xgafv=None)</code>
119-
<pre>Creates a message in a Google Chat space. For an example, see [Send a message](https://developers.google.com/workspace/chat/create-messages). Calling this method requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize) and supports the following authentication types: - For text messages, user authentication or app authentication are supported. - For card messages, only app authentication is supported. (Only Chat apps can create card messages.)
119+
<pre>Creates a message in a Google Chat space. The maximum message size, including text and cards, is 32,000 bytes. For an example, see [Send a message](https://developers.google.com/workspace/chat/create-messages). Calling this method requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize) and supports the following authentication types: - For text messages, user authentication or app authentication are supported. - For card messages, only app authentication is supported. (Only Chat apps can create card messages.)
120120

121121
Args:
122122
parent: string, Required. The resource name of the space in which to create a message. Format: `spaces/{space}` (required)
@@ -1815,7 +1815,7 @@ <h3>Method Details</h3>
18151815
{ # The number of people who reacted to a message with a specific emoji.
18161816
&quot;emoji&quot;: { # An emoji that is used as a reaction to a message. # Emoji associated with the reactions.
18171817
&quot;customEmoji&quot;: { # Represents a custom emoji. # Output only. A custom emoji.
1818-
&quot;uid&quot;: &quot;A String&quot;, # Unique key for the custom emoji resource.
1818+
&quot;uid&quot;: &quot;A String&quot;, # Output only. Unique key for the custom emoji resource.
18191819
},
18201820
&quot;unicode&quot;: &quot;A String&quot;, # A basic emoji represented by a unicode string.
18211821
},
@@ -3584,7 +3584,7 @@ <h3>Method Details</h3>
35843584
{ # The number of people who reacted to a message with a specific emoji.
35853585
&quot;emoji&quot;: { # An emoji that is used as a reaction to a message. # Emoji associated with the reactions.
35863586
&quot;customEmoji&quot;: { # Represents a custom emoji. # Output only. A custom emoji.
3587-
&quot;uid&quot;: &quot;A String&quot;, # Unique key for the custom emoji resource.
3587+
&quot;uid&quot;: &quot;A String&quot;, # Output only. Unique key for the custom emoji resource.
35883588
},
35893589
&quot;unicode&quot;: &quot;A String&quot;, # A basic emoji represented by a unicode string.
35903590
},
@@ -5371,7 +5371,7 @@ <h3>Method Details</h3>
53715371
{ # The number of people who reacted to a message with a specific emoji.
53725372
&quot;emoji&quot;: { # An emoji that is used as a reaction to a message. # Emoji associated with the reactions.
53735373
&quot;customEmoji&quot;: { # Represents a custom emoji. # Output only. A custom emoji.
5374-
&quot;uid&quot;: &quot;A String&quot;, # Unique key for the custom emoji resource.
5374+
&quot;uid&quot;: &quot;A String&quot;, # Output only. Unique key for the custom emoji resource.
53755375
},
53765376
&quot;unicode&quot;: &quot;A String&quot;, # A basic emoji represented by a unicode string.
53775377
},
@@ -7146,7 +7146,7 @@ <h3>Method Details</h3>
71467146
{ # The number of people who reacted to a message with a specific emoji.
71477147
&quot;emoji&quot;: { # An emoji that is used as a reaction to a message. # Emoji associated with the reactions.
71487148
&quot;customEmoji&quot;: { # Represents a custom emoji. # Output only. A custom emoji.
7149-
&quot;uid&quot;: &quot;A String&quot;, # Unique key for the custom emoji resource.
7149+
&quot;uid&quot;: &quot;A String&quot;, # Output only. Unique key for the custom emoji resource.
71507150
},
71517151
&quot;unicode&quot;: &quot;A String&quot;, # A basic emoji represented by a unicode string.
71527152
},
@@ -8926,7 +8926,7 @@ <h3>Method Details</h3>
89268926
{ # The number of people who reacted to a message with a specific emoji.
89278927
&quot;emoji&quot;: { # An emoji that is used as a reaction to a message. # Emoji associated with the reactions.
89288928
&quot;customEmoji&quot;: { # Represents a custom emoji. # Output only. A custom emoji.
8929-
&quot;uid&quot;: &quot;A String&quot;, # Unique key for the custom emoji resource.
8929+
&quot;uid&quot;: &quot;A String&quot;, # Output only. Unique key for the custom emoji resource.
89308930
},
89318931
&quot;unicode&quot;: &quot;A String&quot;, # A basic emoji represented by a unicode string.
89328932
},
@@ -10689,7 +10689,7 @@ <h3>Method Details</h3>
1068910689
{ # The number of people who reacted to a message with a specific emoji.
1069010690
&quot;emoji&quot;: { # An emoji that is used as a reaction to a message. # Emoji associated with the reactions.
1069110691
&quot;customEmoji&quot;: { # Represents a custom emoji. # Output only. A custom emoji.
10692-
&quot;uid&quot;: &quot;A String&quot;, # Unique key for the custom emoji resource.
10692+
&quot;uid&quot;: &quot;A String&quot;, # Output only. Unique key for the custom emoji resource.
1069310693
},
1069410694
&quot;unicode&quot;: &quot;A String&quot;, # A basic emoji represented by a unicode string.
1069510695
},
@@ -12452,7 +12452,7 @@ <h3>Method Details</h3>
1245212452
{ # The number of people who reacted to a message with a specific emoji.
1245312453
&quot;emoji&quot;: { # An emoji that is used as a reaction to a message. # Emoji associated with the reactions.
1245412454
&quot;customEmoji&quot;: { # Represents a custom emoji. # Output only. A custom emoji.
12455-
&quot;uid&quot;: &quot;A String&quot;, # Unique key for the custom emoji resource.
12455+
&quot;uid&quot;: &quot;A String&quot;, # Output only. Unique key for the custom emoji resource.
1245612456
},
1245712457
&quot;unicode&quot;: &quot;A String&quot;, # A basic emoji represented by a unicode string.
1245812458
},
@@ -14215,7 +14215,7 @@ <h3>Method Details</h3>
1421514215
{ # The number of people who reacted to a message with a specific emoji.
1421614216
&quot;emoji&quot;: { # An emoji that is used as a reaction to a message. # Emoji associated with the reactions.
1421714217
&quot;customEmoji&quot;: { # Represents a custom emoji. # Output only. A custom emoji.
14218-
&quot;uid&quot;: &quot;A String&quot;, # Unique key for the custom emoji resource.
14218+
&quot;uid&quot;: &quot;A String&quot;, # Output only. Unique key for the custom emoji resource.
1421914219
},
1422014220
&quot;unicode&quot;: &quot;A String&quot;, # A basic emoji represented by a unicode string.
1422114221
},

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ <h3>Method Details</h3>
107107
{ # A reaction to a message.
108108
&quot;emoji&quot;: { # An emoji that is used as a reaction to a message. # The emoji used in the reaction.
109109
&quot;customEmoji&quot;: { # Represents a custom emoji. # Output only. A custom emoji.
110-
&quot;uid&quot;: &quot;A String&quot;, # Unique key for the custom emoji resource.
110+
&quot;uid&quot;: &quot;A String&quot;, # Output only. Unique key for the custom emoji resource.
111111
},
112112
&quot;unicode&quot;: &quot;A String&quot;, # A basic emoji represented by a unicode string.
113113
},
@@ -132,7 +132,7 @@ <h3>Method Details</h3>
132132
{ # A reaction to a message.
133133
&quot;emoji&quot;: { # An emoji that is used as a reaction to a message. # The emoji used in the reaction.
134134
&quot;customEmoji&quot;: { # Represents a custom emoji. # Output only. A custom emoji.
135-
&quot;uid&quot;: &quot;A String&quot;, # Unique key for the custom emoji resource.
135+
&quot;uid&quot;: &quot;A String&quot;, # Output only. Unique key for the custom emoji resource.
136136
},
137137
&quot;unicode&quot;: &quot;A String&quot;, # A basic emoji represented by a unicode string.
138138
},
@@ -188,7 +188,7 @@ <h3>Method Details</h3>
188188
{ # A reaction to a message.
189189
&quot;emoji&quot;: { # An emoji that is used as a reaction to a message. # The emoji used in the reaction.
190190
&quot;customEmoji&quot;: { # Represents a custom emoji. # Output only. A custom emoji.
191-
&quot;uid&quot;: &quot;A String&quot;, # Unique key for the custom emoji resource.
191+
&quot;uid&quot;: &quot;A String&quot;, # Output only. Unique key for the custom emoji resource.
192192
},
193193
&quot;unicode&quot;: &quot;A String&quot;, # A basic emoji represented by a unicode string.
194194
},

0 commit comments

Comments
 (0)