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
<pre>Legacy path for creating message. Calling these will result in a BadRequest response.
92
92
93
93
Args:
@@ -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",
838
+
"name": "A String", # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4`
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.
@@ -849,7 +849,7 @@ <h3>Method Details</h3>
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
851
"displayName": "A String", # Output only. 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.
852
-
"name": "A String", # Resource name of the space, in the form "spaces/*". Example: spaces/AAAAMpdlehYs
852
+
"name": "A String", # Resource name of the space, in the form "spaces/*". Example: spaces/AAAAAAAAAAAA
853
853
"singleUserBotDm": True or False, # Whether the space is a DM between a bot and a single human.
854
854
"threaded": True or False, # Whether the messages are threaded in this space.
855
855
"type": "A String", # Output only. The type of a space. This is deprecated. Use `single_user_bot_dm` instead.
@@ -860,6 +860,7 @@ <h3>Method Details</h3>
860
860
},
861
861
}
862
862
863
+
requestId: string, Optional. A unique request ID for this message. If a message has already been created in the space with this request ID, the subsequent request will return the existing message and no new message will be created.
863
864
threadKey: string, Optional. Opaque thread identifier string that can be specified to group messages into a single thread. If this is the first message with a given thread identifier, a new thread is created. Subsequent messages with the same thread identifier will be posted into the same thread. This relieves bots and webhooks from having to store the Google Chat thread ID of a thread (created earlier by them) to post further updates to it. Has no effect if thread field, corresponding to an existing thread, is set in message.
864
865
x__xgafv: string, V1 error format.
865
866
Allowed values
@@ -1609,7 +1610,7 @@ <h3>Method Details</h3>
1609
1610
"createTime": "A String", # Output only. The time at which the message was created in Google Chat server.
1610
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).
1611
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.
1612
-
"name": "A String",
1613
+
"name": "A String", # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4`
1613
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.
1614
1615
"sender": { # A user in Google Chat. # The user who created the message.
1615
1616
"displayName": "A String", # The user's display name.
@@ -1623,7 +1624,7 @@ <h3>Method Details</h3>
1623
1624
},
1624
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.
1625
1626
"displayName": "A String", # Output only. 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
-
"name": "A String", # Resource name of the space, in the form "spaces/*". Example: spaces/AAAAMpdlehYs
1627
+
"name": "A String", # Resource name of the space, in the form "spaces/*". Example: spaces/AAAAAAAAAAAA
1627
1628
"singleUserBotDm": True or False, # Whether the space is a DM between a bot and a single human.
1628
1629
"threaded": True or False, # Whether the messages are threaded in this space.
1629
1630
"type": "A String", # Output only. The type of a space. This is deprecated. Use `single_user_bot_dm` instead.
<pre>Legacy path for creating message. Calling these will result in a BadRequest response.
100
100
101
101
Args:
@@ -843,7 +843,7 @@ <h3>Method Details</h3>
843
843
"createTime": "A String", # Output only. The time at which the message was created in Google Chat server.
844
844
"fallbackText": "A String", # A plain-text description of the message's cards, used when the actual cards cannot be displayed (e.g. mobile notifications).
845
845
"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.
846
-
"name": "A String",
846
+
"name": "A String", # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4`
847
847
"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.
848
848
"sender": { # A user in Google Chat. # The user who created the message.
849
849
"displayName": "A String", # The user's display name.
@@ -857,7 +857,7 @@ <h3>Method Details</h3>
857
857
},
858
858
"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.
859
859
"displayName": "A String", # Output only. 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.
860
-
"name": "A String", # Resource name of the space, in the form "spaces/*". Example: spaces/AAAAMpdlehYs
860
+
"name": "A String", # Resource name of the space, in the form "spaces/*". Example: spaces/AAAAAAAAAAAA
861
861
"singleUserBotDm": True or False, # Whether the space is a DM between a bot and a single human.
862
862
"threaded": True or False, # Whether the messages are threaded in this space.
863
863
"type": "A String", # Output only. The type of a space. This is deprecated. Use `single_user_bot_dm` instead.
@@ -868,6 +868,7 @@ <h3>Method Details</h3>
868
868
},
869
869
}
870
870
871
+
requestId: string, Optional. A unique request ID for this message. If a message has already been created in the space with this request ID, the subsequent request will return the existing message and no new message will be created.
871
872
threadKey: string, Optional. Opaque thread identifier string that can be specified to group messages into a single thread. If this is the first message with a given thread identifier, a new thread is created. Subsequent messages with the same thread identifier will be posted into the same thread. This relieves bots and webhooks from having to store the Google Chat thread ID of a thread (created earlier by them) to post further updates to it. Has no effect if thread field, corresponding to an existing thread, is set in message.
872
873
x__xgafv: string, V1 error format.
873
874
Allowed values
@@ -1617,7 +1618,7 @@ <h3>Method Details</h3>
1617
1618
"createTime": "A String", # Output only. The time at which the message was created in Google Chat server.
1618
1619
"fallbackText": "A String", # A plain-text description of the message's cards, used when the actual cards cannot be displayed (e.g. mobile notifications).
1619
1620
"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.
1620
-
"name": "A String",
1621
+
"name": "A String", # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4`
1621
1622
"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.
1622
1623
"sender": { # A user in Google Chat. # The user who created the message.
1623
1624
"displayName": "A String", # The user's display name.
@@ -1631,7 +1632,7 @@ <h3>Method Details</h3>
1631
1632
},
1632
1633
"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.
1633
1634
"displayName": "A String", # Output only. 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.
1634
-
"name": "A String", # Resource name of the space, in the form "spaces/*". Example: spaces/AAAAMpdlehYs
1635
+
"name": "A String", # Resource name of the space, in the form "spaces/*". Example: spaces/AAAAAAAAAAAA
1635
1636
"singleUserBotDm": True or False, # Whether the space is a DM between a bot and a single human.
1636
1637
"threaded": True or False, # Whether the messages are threaded in this space.
1637
1638
"type": "A String", # Output only. The type of a space. This is deprecated. Use `single_user_bot_dm` instead.
<pre>Legacy path for creating message. Calling these will result in a BadRequest response.
1649
1650
1650
1651
Args:
@@ -2392,7 +2393,7 @@ <h3>Method Details</h3>
2392
2393
"createTime": "A String", # Output only. The time at which the message was created in Google Chat server.
2393
2394
"fallbackText": "A String", # A plain-text description of the message's cards, used when the actual cards cannot be displayed (e.g. mobile notifications).
2394
2395
"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.
2395
-
"name": "A String",
2396
+
"name": "A String", # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4`
2396
2397
"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.
2397
2398
"sender": { # A user in Google Chat. # The user who created the message.
2398
2399
"displayName": "A String", # The user's display name.
@@ -2406,7 +2407,7 @@ <h3>Method Details</h3>
2406
2407
},
2407
2408
"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.
2408
2409
"displayName": "A String", # Output only. 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.
2409
-
"name": "A String", # Resource name of the space, in the form "spaces/*". Example: spaces/AAAAMpdlehYs
2410
+
"name": "A String", # Resource name of the space, in the form "spaces/*". Example: spaces/AAAAAAAAAAAA
2410
2411
"singleUserBotDm": True or False, # Whether the space is a DM between a bot and a single human.
2411
2412
"threaded": True or False, # Whether the messages are threaded in this space.
2412
2413
"type": "A String", # Output only. The type of a space. This is deprecated. Use `single_user_bot_dm` instead.
@@ -2417,6 +2418,7 @@ <h3>Method Details</h3>
2417
2418
},
2418
2419
}
2419
2420
2421
+
requestId: string, Optional. A unique request ID for this message. If a message has already been created in the space with this request ID, the subsequent request will return the existing message and no new message will be created.
2420
2422
threadKey: string, Optional. Opaque thread identifier string that can be specified to group messages into a single thread. If this is the first message with a given thread identifier, a new thread is created. Subsequent messages with the same thread identifier will be posted into the same thread. This relieves bots and webhooks from having to store the Google Chat thread ID of a thread (created earlier by them) to post further updates to it. Has no effect if thread field, corresponding to an existing thread, is set in message.
2421
2423
x__xgafv: string, V1 error format.
2422
2424
Allowed values
@@ -3166,7 +3168,7 @@ <h3>Method Details</h3>
3166
3168
"createTime": "A String", # Output only. The time at which the message was created in Google Chat server.
3167
3169
"fallbackText": "A String", # A plain-text description of the message's cards, used when the actual cards cannot be displayed (e.g. mobile notifications).
3168
3170
"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.
3169
-
"name": "A String",
3171
+
"name": "A String", # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4`
3170
3172
"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.
3171
3173
"sender": { # A user in Google Chat. # The user who created the message.
3172
3174
"displayName": "A String", # The user's display name.
@@ -3180,7 +3182,7 @@ <h3>Method Details</h3>
3180
3182
},
3181
3183
"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.
3182
3184
"displayName": "A String", # Output only. 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.
3183
-
"name": "A String", # Resource name of the space, in the form "spaces/*". Example: spaces/AAAAMpdlehYs
3185
+
"name": "A String", # Resource name of the space, in the form "spaces/*". Example: spaces/AAAAAAAAAAAA
3184
3186
"singleUserBotDm": True or False, # Whether the space is a DM between a bot and a single human.
3185
3187
"threaded": True or False, # Whether the messages are threaded in this space.
3186
3188
"type": "A String", # Output only. The type of a space. This is deprecated. Use `single_user_bot_dm` instead.
0 commit comments