While X said that it keeps a log of edited messages for security reasons, it doesn’t show the version history of edited messages at the moment.
Users expect to be able to edit their messages in messaging apps, as other chat apps, such as WhatsApp, Telegram, Signal, and Messenger have had this functionality for a while now. Apple also added the ability to edit messages sent via iMessage with iOS 16.