How to make hidden text in Telegram on Xiaomi: from formatting to secret chats

Why does the hidden text in Telegram work differently on Xiaomi?

Xiaomi’s MIUI-enabled smartphones have messaging features, including Telegram. For example, in a standard Android client, hidden text through spoilers or formatting may not be displayed correctly due to system optimizations. And in MIUI 14+ versions, additional restrictions on background processes are added, which affects notifications of β€œsecret” messages.

In this article, we will discuss 5 working methods adapted specifically for Xiaomi devices (including Redmi Note 12, POCO X5, Mi 11 and others). You will learn how to hide text in regular chats, channels, as well as how to use the built-in mechanisms of Telegram for complete privacy - without third-party applications and the risk of blocking an account.

Important: Some methods require permission to change system settings (for example, to work with secret chats). If you have MIUI Global, some of the features may be limited, we will also talk about this.

Method 1: Spoilers are the simplest hidden text

Telegram's spoiler feature allows you to hide text under a gray shaded area, which works stable on Xiaomi, but there are nuances with the display in the notifications.

  1. Open a chat or channel in Telegram.
  2. Enter the text you want to hide.
  3. Select it and click on the icon πŸ‘οΈ (or select "Spoiler" in the formatting menu).
  4. Send a message.

On MIUI 13/14, spoilers can be automatically disclosed in notifications if Preview Messages is enabled.

  • πŸ“± Go to Telegram Settings β†’ Notifications β†’ Preview the text and turn it off.
  • πŸ”’ In the settings MIUI (section β†’ Permits β†’ Auto-Run) Add Telegram to exceptions.

πŸ’‘

If the spoiler doesn’t work in the channel, check for administrator rights – some actions require Editor status or higher.

Limitation: In group chats, spoilers are visible to all participants, even if they have not clicked on the message.

Method 2: Secret Chats – 100% Covert

Secret chats on Telegram are encrypted with end-to-end encryption and are not stored on servers. On Xiaomi, their configuration is peculiar due to MIUI restrictions on the background of applications.

Create a new chat β†’ β€œNew Secret Chat”

Set a self-destruct timer (from 1 second to 1 week)

Turn off notifications for chat in Telegram settings

Add Telegram to the "Secure Applications" in MIUI-->

On Xiaomi with MIUI 14, secret chats can be automatically closed when the app is folded.

  1. Go to MIUI Settings β†’ Battery β†’ Performance Mode.
  2. Select No Limits for Telegram.
  3. In the Applications β†’ Permissions β†’ Autorun, turn on Telegram.
What to do if the secret chat is gone?
If the chat disappeared after the MIUI update, check: 1. Have your battery settings reset (turn on "No Limits" again). 2. Have you deleted the chat by accident - secret chats do not sync with the cloud. 3. Try reinstalling Telegram (but this will delete all local secret chats!).

⚠️ Note: Secret chats are not backed up in the Telegram cloud. When you reinstall the app or reset your phone, they will be lost. For important data, use chat export (available only in regular chat rooms).

Method 3: Hiding Text Through Formatting (for Channels)

Telegram channels can hide text with the help of HTML-It works in a stable way on Xiaomi, but it requires administrator rights:

<span>Your hidden text</span>

How do you apply this:

  1. Open the channel where you are the administrator.
  2. Write a message in HTML format (enable it in the keyboard settings).
  3. Use the <span> tags with the text and background color #ffffff (white).
  4. Send a message, the text will be invisible on a white background.

To verify:

  • πŸ–±οΈ Hover the cursor over the message (on PC the text will light up).
  • πŸ“± On the phone, select the message area - hidden text will appear.

Spoilers.|Secret chat rooms|Formatting HTML|Don't hide the text.|Another method-->

Limitation: This method doesn’t work in personal chats and groups, only in channels where you’re an administrator, and some Telegram customers (like Telegram X) may ignore it. HTML-marking.

Method 4: Text-hiding bots (with caution!)

There are bots that allow you to send self-destructing messages or text with a password, such as @SecretTextBot or @HideItBot. However, on Xiaomi, their work can be unstable due to:

  • 🚫 Restrictions MIUI background work.
  • πŸ”’ Locking some bots by geolocation (e.g. in China or India).
  • ⚠️ Data breach risk – not all bots use end-to-end encryption.

How to use bots safely:

  1. Check the bot rating in the @BotFather directory (should be 4+ stars).
  2. Do not send confidential information (passwords, documents) through bots.
  3. In MIUI settings, add Telegram to Battery Optimization Excludations.

πŸ’‘

Bots are convenient for temporary text hiding, but do not guarantee 100% privacy.

Example of working with @HideItBot:

  1. Open the bot and send the /start command.
  2. Select the option "Hide the text".
  3. Enter the message and set a lifetime (from 10 seconds to 1 hour).
  4. Copy the link and send it to the recipient.

Method 5: Hiding Notifications (for complete confidentiality)

Even if the text is hidden in the Telegram itself, it can be displayed in MIUI notifications.

Setting upThe way to MIUIRecommended value
Pre-review of notificationsSettings β†’ Notifications β†’ Preview of messagesShut down.
The sound of notificationsTelegram settings β†’ Notifications β†’ SoundNo sound or "Only vibration"
Block notifications on the lock screenMIUI settings β†’ Lock screen β†’ NotificationsHide content
Background activity of TelegramSettings β†’ Applications β†’ Telegram β†’ BatteryNo restrictions.

⚠️ Attention: On Xiaomi with MIUI 14 there is a bug: if you disable the preview notifications in Telegram, they can be duplicated in the system log MIUI. To fix it:

  1. Go to Settings β†’ Applications β†’ Application Management β†’ Notification Log.
  2. Turn off the option to Show notifications in the Telegram log.

Frequent problems and solutions for Xiaomi

Xiaomi users often encounter specific errors when working with hidden text in Telegram, and here are the most common ways to solve them:

  • πŸ”„ Spoilers do not work in the channel: Check the administrator rights (you need to be an "Editor" or "Admin"). Also make sure that the channel is not age-limited (in the channel settings).
  • πŸ“΅ Secret chats go missing: It's about optimization MIUI. Add Telegram to Secure Applications (Settings section) β†’ Annexes β†’ Permits).
  • πŸ–ΌοΈ Hidden text is visible in notifications: Disable Text Preview in Telegram settings and MIUI (see the table above).
  • πŸ”’ Bots don't answer: B MIUI By default, the background work of the bots is blocked. Enable the AutoRun and Secondary Launch option for Telegram.

If none of these methods work, try:

  1. Update Telegram to the latest version (sometimes bugs are fixed in new releases).
  2. Install an alternative client, such as Telegram X (but note that it may not support secret chats).
  3. Reset the Telegram settings (in Settings β†’ Additional β†’ Reset settings).
Can you hide the text in Telegram so that only one person in the group can see it?
No, there is no such feature in standard Telegram groups. Alternatives: Create a secret chat with that person and send a message there. Use @mention (mention) + spoiler - but the text will be visible to everyone, just the emphasis will be on one user.
Why does my Xiaomi not work with HTML text hiding in the channel?
Probable reasons: You're not a channel administrator (you need permission to edit messages); Markdown instead of HTML (switch to keyboard settings); Uses an outdated version of Telegram (update the app); MIUI can block HTML rendering; try restarting the application.
How to hide the text in Telegram from viewing in the "Recent" (in MIUI)?
MIUI has a feature called Recent Apps, where Telegram screenshots can be displayed. To avoid this: Turn off Show screenshots in recent MIUI settings (Settings β†’ Special Features β†’ Privacy). Use Telegram's incognito mode (available in some modified versions). Set a password for the Telegram app itself (Settings β†’ Privacy β†’ Lock code).
Can I recover hidden text if it is missing after the MIUI update?
It depends on the method of hiding: spoilers/formatting: Text is not lost, just may not be displayed correctly. Try opening Telegram on another device. Secret chats: When you reset or reinstall Telegram, they are deleted irrevocably. Bots: If the text was stored on the bot's server, try requesting a history from it (team /history). On Xiaomi, after the MIUI update, the battery settings are sometimes reset, which leads to the closure of background processes. Check the Settings β†’ Battery β†’ Performance Mode.
Is there a difference in text hiding between Xiaomi and other Android smartphones?
Yes, and it's significant: Xiaomi's feature (MIUI) Stock Android Spoilers in Notifications May Reveal Automatically Stay Hidden Background Secret Chats Frequently Interrupted by Battery Optimization Works Stable HTML-Formatting in channels Can be ignored by the system Works correctly Bots for hiding text Require manual additions to exceptions Work without additional settings Recommendation: if you are critically important to privacy, use Xiaomi with global firmware (MIUI Global) or consider alternative messengers with better support for hidden features (e.g. Session or Signal).