v1

latestOpenAPI 3.0.12026-07-17310206.9 KB

Delete a specific message from a Discord channel.

This function removes a specified message from a given Discord channel. It takes the channel ID and message ID as parameters and returns a Promise that resolves when the deletion is complete. This allows for programmatic management of channel content.

post/deleteMessage

Request body

Response

Message successfully deleted

successboolean

Indicates whether the deletion was successful