# TelegramBot TelegramBot is the web fetcher for the popular messaging app Telegram. It is not a general-purpose crawler but an on-demand bot that visits a web page only when a user shares a link to it in a Telegram chat. Its purpose is to retrieve metadata like the title, description, and thumbnail image to generate the rich link preview that appears in the conversation. For website owners, this is beneficial as it makes your content more engaging when shared on the platform. Breadcrumb navigation - [Privacy-focused, simple website analytics](https://plainsignal.com/) - [Agents](https://plainsignal.com/agents "Agents, User-Agents, Crawlers, Browsers") - [TelegramBot](https://plainsignal.com/agents/telegrambot) ## What is TelegramBot? TelegramBot is the web crawler for the instant messaging platform Telegram. It functions as a preview generator, scanning URLs that users share in Telegram chats to create rich link previews. It is a link preview bot, not a full web crawler. The bot identifies itself in server logs with the user-agent string `TelegramBot`. It makes targeted, single-page visits triggered by user actions rather than systematically crawling entire websites. ## Why is TelegramBot crawling my site? TelegramBot is visiting your website because a user has shared a link to your content in a Telegram conversation. The frequency of visits is directly tied to how often your content is shared on the platform. The bot's visit is to generate a preview of the shared link. This is a standard and authorized activity for messaging and social platforms. You may see increased activity from this bot if your content becomes popular among Telegram's large user base. ## What is the purpose of TelegramBot? The purpose of TelegramBot is to enhance the user experience in the Telegram app by generating rich previews for shared links. These previews make conversations more engaging and informative by providing a visual representation of the linked content. The bot collects only the data necessary to generate these previews, focusing on page titles, images, and meta descriptions. This benefits both users and website owners; users get a better experience, while website owners receive more engagement when their content is shared attractively. ## How do I block TelegramBot? To prevent TelegramBot from generating previews of your content when it is shared, you can add a disallow rule to your `robots.txt` file. This will cause links to your site to appear as plain text URLs in Telegram. To block this bot, add the following lines to your `robots.txt` file: ``` User-agent: TelegramBot Disallow: / ``` ## Related agents and operators ## Canonical Human friendly, reader version of this article is available at [TelegramBot](https://plainsignal.com/agents/telegrambot) ## Copyright (c) 2025 [PlainSignal](https://plainsignal.com/ "Privacy-focused, simple website analytics")