Appearance
Edit message
PATCH
/channels/{channelId}/messages/{messageId}
Authorizations
Authorization
TypeHTTP (bearer)
Parameters
Path Parameters
channelId*
Typeinteger
Requiredformat
"int64"messageId*
Typeinteger
Requiredformat
"int64"Request Body
application/json
JSON
{
"content": "string",
"attachments": [
0
]
}
Responses
OK
application/json
JSON
{
"messages": [
{
"id": 0,
"content": "string",
"author": "[Circular Reference]",
"channel": "[Circular Reference]",
"attachments": [
{
"id": 0,
"uuid": "string",
"filename": "string",
"contentType": "string",
"flags": 0
}
],
"createdAt": 0
}
]
}