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.dms.conversations.html
+13-13Lines changed: 13 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,7 @@ <h3>Method Details</h3>
91
91
<pre>Legacy path for creating message. Calling these will result in a BadRequest response.
92
92
93
93
Args:
94
-
parent: string, Required. Space resource name, in the form "spaces/*". Example: spaces/AAAAMpdlehY (required)
94
+
parent: string, Required. Space resource name, in the form "spaces/*". Example: spaces/AAAAAAAAAAA (required)
95
95
body: object, The request body.
96
96
The object takes the form of:
97
97
@@ -835,7 +835,7 @@ <h3>Method Details</h3>
835
835
"createTime": "A String", # Output only. The time at which the message was created in Google Chat server.
836
836
"fallbackText": "A String", # A plain-text description of the message's cards, used when the actual cards cannot be displayed (e.g. mobile notifications).
837
837
"lastUpdateTime": "A String", # Output only. The time at which the message was last updated in Google Chat server. If the message was never updated, this field will be same as create_time.
838
-
"name": "A String", # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4`
838
+
"name": "A String", # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`
839
839
"previewText": "A String", # Text for generating preview chips. This text will not be displayed to the user, but any links to images, web pages, videos, etc. included here will generate preview chips.
840
840
"sender": { # A user in Google Chat. # The user who created the message.
841
841
"displayName": "A String", # The user's display name.
@@ -848,15 +848,15 @@ <h3>Method Details</h3>
848
848
"commandId": "A String", # The id of the slash command invoked.
849
849
},
850
850
"space": { # A space in Google Chat. Spaces are conversations between two or more users or 1:1 messages between a user and a Chat bot. # The space the message belongs to.
851
-
"displayName": "A String", # The display name (only if the space is of type `ROOM`). Please note that this field might not be populated in direct messages between humans.
851
+
"displayName": "A String", # The space's display name. For direct messages between humans, this field might be empty.
852
852
"name": "A String", # Resource name of the space, in the form "spaces/*". Example: spaces/AAAAAAAAAAAA
853
-
"singleUserBotDm": True or False, # Whether the space is a DM between a bot and a single human.
854
-
"threaded": True or False, # Whether the messages are threaded in this space.
855
-
"type": "A String", # Output only. The type of a space. This is deprecated. Use `single_user_bot_dm` instead.
853
+
"singleUserBotDm": True or False, # Output only. Whether the space is a DM between a bot and a single human.
854
+
"threaded": True or False, # Output only. Whether the messages are threaded in this space.
855
+
"type": "A String", # Deprecated. Use `single_user_bot_dm` instead. Output only. The type of a space.
856
856
},
857
857
"text": "A String", # Plain-text body of the message.
858
858
"thread": { # A thread in Google Chat. # The thread the message belongs to.
859
-
"name": "A String", # Resource name, in the form "spaces/*/threads/*". Example: spaces/AAAAMpdlehY/threads/UMxbHmzDlr4
859
+
"name": "A String", # Resource name, in the form "spaces/*/threads/*". Example: spaces/AAAAAAAAAAA/threads/TTTTTTTTTTT
860
860
},
861
861
}
862
862
@@ -1610,7 +1610,7 @@ <h3>Method Details</h3>
1610
1610
"createTime": "A String", # Output only. The time at which the message was created in Google Chat server.
1611
1611
"fallbackText": "A String", # A plain-text description of the message's cards, used when the actual cards cannot be displayed (e.g. mobile notifications).
1612
1612
"lastUpdateTime": "A String", # Output only. The time at which the message was last updated in Google Chat server. If the message was never updated, this field will be same as create_time.
1613
-
"name": "A String", # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4`
1613
+
"name": "A String", # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`
1614
1614
"previewText": "A String", # Text for generating preview chips. This text will not be displayed to the user, but any links to images, web pages, videos, etc. included here will generate preview chips.
1615
1615
"sender": { # A user in Google Chat. # The user who created the message.
1616
1616
"displayName": "A String", # The user's display name.
@@ -1623,15 +1623,15 @@ <h3>Method Details</h3>
1623
1623
"commandId": "A String", # The id of the slash command invoked.
1624
1624
},
1625
1625
"space": { # A space in Google Chat. Spaces are conversations between two or more users or 1:1 messages between a user and a Chat bot. # The space the message belongs to.
1626
-
"displayName": "A String", # The display name (only if the space is of type `ROOM`). Please note that this field might not be populated in direct messages between humans.
1626
+
"displayName": "A String", # The space's display name. For direct messages between humans, this field might be empty.
1627
1627
"name": "A String", # Resource name of the space, in the form "spaces/*". Example: spaces/AAAAAAAAAAAA
1628
-
"singleUserBotDm": True or False, # Whether the space is a DM between a bot and a single human.
1629
-
"threaded": True or False, # Whether the messages are threaded in this space.
1630
-
"type": "A String", # Output only. The type of a space. This is deprecated. Use `single_user_bot_dm` instead.
1628
+
"singleUserBotDm": True or False, # Output only. Whether the space is a DM between a bot and a single human.
1629
+
"threaded": True or False, # Output only. Whether the messages are threaded in this space.
1630
+
"type": "A String", # Deprecated. Use `single_user_bot_dm` instead. Output only. The type of a space.
1631
1631
},
1632
1632
"text": "A String", # Plain-text body of the message.
1633
1633
"thread": { # A thread in Google Chat. # The thread the message belongs to.
1634
-
"name": "A String", # Resource name, in the form "spaces/*/threads/*". Example: spaces/AAAAMpdlehY/threads/UMxbHmzDlr4
1634
+
"name": "A String", # Resource name, in the form "spaces/*/threads/*". Example: spaces/AAAAAAAAAAA/threads/TTTTTTTTTTT
0 commit comments