v1

latestOpenAPI 3.0.12026-07-17310206.9 KB

Edits an existing message in a Discord channel, allowing modification of text content and embedded media.

This function updates the content of a previously sent message in a specified Discord channel. It allows for modification of both text content and embedded media. The function can replace the existing text with new content and optionally update or add an embedded image or file.

post/editMessage

Request body

Response

Successfully edited the message

idstring

The ID of the edited message

contentstring

The updated text content of the message

channel_idstring

The ID of the channel containing the message

embedsobject[]

Array of embeds in the message