If you make a mistake and want to discard your message, you need to move your hand out from the keyboard and click the trash icon at the top with your mouse.
It could be useful to have a keybinding like "Q" or the backspace key to discard the current message before the submit delay time.