UNDO button for WhatsApp helps retrieve deleted messages?

Sometimes in a hurry we tend to delete messages that has been sent by us and then realize that it was not supposed to be done. To avoid it WhatsApp is now giving us UNDO button feature which helps in retrieving the deleted messages by displaying a pop-up asking users if they want to undo the action for a couple of minutes or seconds to correct the actions. This feature is already available in Telegram.