/chat.update
POST
/chat.update
chat
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://slack.com/api/chat.update' \
--header 'token;' \
--data-urlencode 'channel=' \
--data-urlencode 'ts='
Response Response Example
200 - response
{
"channel": "C024BE91L",
"message": {
"text": "Updated text you carefully authored",
"user": "U34567890"
},
"ok": true,
"text": "Updated text you carefully authored",
"ts": "1401383885.000061"
}
Request
Header Params
token
stringÂ
required
chat:write
Body Params application/x-www-form-urlencoded
as_user
stringÂ
optional
attachments
stringÂ
optional
text
. If you don't include this field, the message's previous attachments
will be retained. To remove previous attachments
, include an empty array for this field.blocks
stringÂ
optional
blocks
will be retained. To remove previous blocks
, include an empty array for this field.channel
stringÂ
required
link_names
stringÂ
optional
none
. If you do not specify a value for this field, the original value set for the message will be overwritten with the default, none
.parse
stringÂ
optional
client
, unlike chat.postMessage
. Accepts either none
or full
. If you do not specify a value for this field, the original value set for the message will be overwritten with the default, client
.text
stringÂ
optional
blocks
or attachments
.ts
stringÂ
required
Responses
Modified at 2023-08-15 05:39:45