You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/chat_v1.spaces.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -109,7 +109,7 @@ <h2>Instance Methods</h2>
109
109
<pclass="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>
<pclass="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
+
<pclass="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>
<pre>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.
314
+
<pre>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.
315
315
316
316
Args:
317
317
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't be `SPACE_TYPE_UNSPECIFIED`). To query for multiple space types, use the `OR` operator. For example, the following queries are valid: ``` space_type = "SPACE" spaceType = "GROUP_CHAT" OR spaceType = "DIRECT_MESSAGE" ``` Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.
<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>
<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>
<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.)
120
120
121
121
Args:
122
122
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>
1815
1815
{ # The number of people who reacted to a message with a specific emoji.
1816
1816
"emoji": { # An emoji that is used as a reaction to a message. # Emoji associated with the reactions.
1817
1817
"customEmoji": { # Represents a custom emoji. # Output only. A custom emoji.
1818
-
"uid": "A String", # Unique key for the custom emoji resource.
1818
+
"uid": "A String", # Output only. Unique key for the custom emoji resource.
1819
1819
},
1820
1820
"unicode": "A String", # A basic emoji represented by a unicode string.
1821
1821
},
@@ -3584,7 +3584,7 @@ <h3>Method Details</h3>
3584
3584
{ # The number of people who reacted to a message with a specific emoji.
3585
3585
"emoji": { # An emoji that is used as a reaction to a message. # Emoji associated with the reactions.
3586
3586
"customEmoji": { # Represents a custom emoji. # Output only. A custom emoji.
3587
-
"uid": "A String", # Unique key for the custom emoji resource.
3587
+
"uid": "A String", # Output only. Unique key for the custom emoji resource.
3588
3588
},
3589
3589
"unicode": "A String", # A basic emoji represented by a unicode string.
3590
3590
},
@@ -5371,7 +5371,7 @@ <h3>Method Details</h3>
5371
5371
{ # The number of people who reacted to a message with a specific emoji.
5372
5372
"emoji": { # An emoji that is used as a reaction to a message. # Emoji associated with the reactions.
5373
5373
"customEmoji": { # Represents a custom emoji. # Output only. A custom emoji.
5374
-
"uid": "A String", # Unique key for the custom emoji resource.
5374
+
"uid": "A String", # Output only. Unique key for the custom emoji resource.
5375
5375
},
5376
5376
"unicode": "A String", # A basic emoji represented by a unicode string.
5377
5377
},
@@ -7146,7 +7146,7 @@ <h3>Method Details</h3>
7146
7146
{ # The number of people who reacted to a message with a specific emoji.
7147
7147
"emoji": { # An emoji that is used as a reaction to a message. # Emoji associated with the reactions.
7148
7148
"customEmoji": { # Represents a custom emoji. # Output only. A custom emoji.
7149
-
"uid": "A String", # Unique key for the custom emoji resource.
7149
+
"uid": "A String", # Output only. Unique key for the custom emoji resource.
7150
7150
},
7151
7151
"unicode": "A String", # A basic emoji represented by a unicode string.
7152
7152
},
@@ -8926,7 +8926,7 @@ <h3>Method Details</h3>
8926
8926
{ # The number of people who reacted to a message with a specific emoji.
8927
8927
"emoji": { # An emoji that is used as a reaction to a message. # Emoji associated with the reactions.
8928
8928
"customEmoji": { # Represents a custom emoji. # Output only. A custom emoji.
8929
-
"uid": "A String", # Unique key for the custom emoji resource.
8929
+
"uid": "A String", # Output only. Unique key for the custom emoji resource.
8930
8930
},
8931
8931
"unicode": "A String", # A basic emoji represented by a unicode string.
8932
8932
},
@@ -10689,7 +10689,7 @@ <h3>Method Details</h3>
10689
10689
{ # The number of people who reacted to a message with a specific emoji.
10690
10690
"emoji": { # An emoji that is used as a reaction to a message. # Emoji associated with the reactions.
10691
10691
"customEmoji": { # Represents a custom emoji. # Output only. A custom emoji.
10692
-
"uid": "A String", # Unique key for the custom emoji resource.
10692
+
"uid": "A String", # Output only. Unique key for the custom emoji resource.
10693
10693
},
10694
10694
"unicode": "A String", # A basic emoji represented by a unicode string.
10695
10695
},
@@ -12452,7 +12452,7 @@ <h3>Method Details</h3>
12452
12452
{ # The number of people who reacted to a message with a specific emoji.
12453
12453
"emoji": { # An emoji that is used as a reaction to a message. # Emoji associated with the reactions.
12454
12454
"customEmoji": { # Represents a custom emoji. # Output only. A custom emoji.
12455
-
"uid": "A String", # Unique key for the custom emoji resource.
12455
+
"uid": "A String", # Output only. Unique key for the custom emoji resource.
12456
12456
},
12457
12457
"unicode": "A String", # A basic emoji represented by a unicode string.
12458
12458
},
@@ -14215,7 +14215,7 @@ <h3>Method Details</h3>
14215
14215
{ # The number of people who reacted to a message with a specific emoji.
14216
14216
"emoji": { # An emoji that is used as a reaction to a message. # Emoji associated with the reactions.
14217
14217
"customEmoji": { # Represents a custom emoji. # Output only. A custom emoji.
14218
-
"uid": "A String", # Unique key for the custom emoji resource.
14218
+
"uid": "A String", # Output only. Unique key for the custom emoji resource.
14219
14219
},
14220
14220
"unicode": "A String", # A basic emoji represented by a unicode string.
0 commit comments