When editing a post, you can add an edit message using the style icon in the composer:
Clicking on that will open up a box to add a message:
Though changes made using the topic title edit pencil don’t have the same option.