When we talk about Apple patents it's almost always about Hardware projects and experiments, but that doesn't mean that software patents don't exist. At AppleInsider they found this, made since Cupertino in December 2019 and published today, which explains how to edit messages already sent to iMessage.
This is it may save us to send another additional message for processing
Each message has its own edit history
Apple's touch on this patent is just that we were able to see the entire editing history
The text also discusses the possibility connect or integrate applications to each message, depending on the content of the post. For example, when we talk about booking a table in a restaurant, Messages will show us the content of the reservation plan we have installed on the device.
We should be warned in general: we are talking about a patent and therefore nothing can be approved. Apple may have tested these types of features, but you can always discard them or put them in a cupboard for later repair.