Unsending a message will be the best option as it’ll delete the message for both sides unless the recipient read it. However, in the case of editing a message, the edited message will still appear to the recipient. So, you should prefer the undo send option.