Just click on the message and hold your finger until the context menu appears. In it, you need to select "Edit" to correct a typo or add details.
The interlocutor will not be able to view the correction history. Like other messages, the changes made are protected by end-to-end encryption.
The feature has already started to be implemented around the world, in the coming weeks it will be available to all users.