“We've all been there, but now you can UNDO when you accidentally delete a message for you that you meant to delete for everyone!” WhatsApp announced on Twitter.
If users accidentally deleted a message, the app will now offer them a small window, visible for five seconds, within which they can restore the deleted message. (ILKHA)