Updates a message.
HTTP request
PUT https://chat.googleapis.com/v1/{message.name=spaces/*/messages/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
message.name |
Resource name, in the form "spaces/*/messages/*". Example: spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4 |
Query parameters
Parameters | |
---|---|
updateMask |
Required. The field paths to be updated, comma separated if there are multiple. Currently supported field paths: * text * cards |
Request body
The request body contains an instance of Message
.
Response body
If successful, the response body contains an instance of Message
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/chat.bot
For more information, see the OAuth 2.0 Overview.