Disable_web_page_preview Jun 2026
Go to Settings > Privacy > Advanced > Disable link previews . This also helps protect your IP address.
# Example using pyTelegramBotAPI bot.send_message(chat_id, "Check our site: https://example.com", disable_web_page_preview=True) Use code with caution. 2. Node.js (node-telegram-bot-api)
Most modern Telegram bot frameworks include this parameter as a standard keyword argument in their message-sending functions. 1. Python (aiogram & pyTelegramBotAPI) disable_web_page_preview
$args['disable_web_page_preview'] = true; return $this->request('sendMessage', $args); Use code with caution. Important Update: Link Preview Options
CPU Usage 99% Server: prod-api-01 Docs: https://internal-wiki.com/cpu-troubleshooting Go to Settings > Privacy > Advanced > Disable link previews
While negligible for the end-user, disabling previews can slightly reduce the visual "pop-in" effect as Telegram's client loads the metadata.
Go to Settings > Privacy and Security > Link Previews and toggle it off. For developers building privacy-focused tools
show_above_text : To move the preview above the message content. Conclusion
By setting this value to true , the API acknowledges the text contains a URL but instructs the rendering engine to treat it as plain text. The link remains clickable (and usually blue), but the metadata is never fetched, and no block is generated beneath the message.
For developers building privacy-focused tools, disable_web_page_preview is not just a UI preference; it is a security feature.