Message Edit
The MessageEdit payload. This is used when you want to edit an existing message using the REST API.
Field | Type | Description |
---|---|---|
content? | String? | The message’s updated content. The upper limit is the instance’s Instance Info message_limit . If this is set to be an empty string it will be considered to be null,Leading and trailing whitespace will be trimmed off the content. |
attachments? | Array of AttachmentCreates | |
embeds? | Array of CustomEmbeds |
Example
{
"content": "~~I am smart~~ EDIT: I was wrong."
}