For Messages that have never been received, you can directly call these two interfaces to delete the Messages. Unlike deleteMessage, this deletion does not require the prior reception of the Message, and will directly delete the storage of the Message in the bottom layer of the EMQ, and the follow-up will no longer be able to consume the Message in any way.
The Message ID obtained after the Message is sent successfully. Only Messages that have never been received can be deleted.
DeletePeekMessageBatchEntry contains the fields: receiptHandle : String : required The message ID obtained after the message is sent successfully. Only messages that have never been received can be deleted.