Spoiler Formatting. Select any part of your message when typing and choose ‘Spoiler’ in the formatting menu to hide the text under an animation in chat, as well as in the chat list and notifications.
Tap the animation to reveal the hidden text – spoilers can also be combined with other text formatting, including links.
On MIUI devices, tap ⋮ in the top-right corner to show the formatting options.