Since you can see a spoiler message with only one tap or click, many people do it by accident. Unfortunately, Telegram currently doesn’t have the option to hide the text again. You can exit the group or channel and go back to it, however, and the formatting will reset.