telegram-crawler/data/web/telegram.org/blog/bot-revolution.html
2023-08-14 16:01:31 +00:00

279 lines
18 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html class="">
<head>
<meta charset="utf-8">
<title>Telegram Bot Platform</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:title" content="Telegram Bot Platform">
<meta property="og:image" content="https://telegram.org/file/811140058/2/7GzMJk4Ij54/a1649c56fa9f805828">
<meta property="og:site_name" content="Telegram">
<meta property="og:description" content="Telegram 3.0 introduces Bot Platform — free, open and super easy to use ">
<meta property="article:published_time" content="2015-06-24T18:11:36+00:00"><meta name="twitter:card" content="summary_large_image" /><meta name="twitter:image" content="https://telegram.org/file/811140058/2/7GzMJk4Ij54/a1649c56fa9f805828" />
<meta property="fb:app_id" content="254098051407226">
<meta property="vk:app_id" content="3782569">
<meta name="apple-itunes-app" content="app-id=686449807">
<meta name="telegram:channel" content="@telegram">
<link rel="canonical" href="https://telegram.org/blog/bot-revolution" />
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png">
<link rel="alternate icon" href="/img/favicon.ico" type="image/x-icon" />
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
<link href="/css/telegram.css?236" rel="stylesheet" media="screen">
</head>
<body class="preload">
<div id="fb-root"></div>
<div class="tl_page_wrap">
<div class="tl_page_head navbar navbar-static-top navbar navbar-tg">
<div class="navbar-inner">
<div class="container clearfix">
<ul class="nav navbar-nav navbar-right"><li class="dropdown top_lang_select"><a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#"><i class="dev_top_lang_icon"></i>EN <b class="minicaret"></b></a>
<ul class="dropdown-menu"><li class="chosen "><a href="?setln=en">English</a></li><li class="long "><a href="?setln=id">Bahasa Indonesia</a></li><li class="long "><a href="?setln=ms">Bahasa Melayu</a></li><li class=""><a href="?setln=de">Deutsch</a></li><li class=""><a href="?setln=es">Español</a></li><li class=""><a href="?setln=fr">Français</a></li><li class=""><a href="?setln=it">Italiano</a></li><li class=""><a href="?setln=nl">Nederlands</a></li><li class=""><a href="?setln=uz">Ozbek</a></li><li class=""><a href="?setln=pl">Polski</a></li><li class="long "><a href="?setln=pt-br">Português (Brasil)</a></li><li class=""><a href="?setln=tr">Türkçe</a></li><li class=""><a href="?setln=be">Беларуская</a></li><li class=""><a href="?setln=ru">Русский</a></li><li class=""><a href="?setln=uk">Українська</a></li><li class=""><a href="?setln=ar">العربية</a></li><li class=""><a href="?setln=fa">فارسی</a></li><li class=""><a href="?setln=ko">한국어</a></li></ul></li><li class="navbar-twitter hidden-xs"><a href="https://twitter.com/telegram" target="_blank" data-track="Follow/Twitter" onclick="trackDlClick(this, event)"><i class="icon icon-twitter"></i> Twitter</a></li></ul>
<ul class="nav navbar-nav">
<li class=""><a href="/">Home</a></li>
<li class=""><a href="/faq">FAQ</a></li>
<li class=""><a href="/apps">Apps</a></li>
<li class="hidden-xs "><a href="//core.telegram.org/api">API</a></li>
<li class="hidden-xs "><a href="//core.telegram.org/mtproto">Protocol</a></li>
</ul>
</div>
</div>
</div>
<div class="container clearfix tl_page_container ">
<div class="tl_page">
<div class="tl_contest_page_wrap">
<div class="tl_blog_side_blog"><div class="side_blog_wrap">
<div class="side_blog">
<a href="/blog" class="side_blog_header">Recent News</a>
<div class="side_blog_entries">
<a href="/blog/stories" class="side_blog_entry">
<div class="side_blog_date">Aug 14</div>
<div class="side_blog_title">Stories and 10 Years of Telegram</div>
</a><a href="/blog/shareable-folders-custom-wallpapers" class="side_blog_entry">
<div class="side_blog_date">Apr 21</div>
<div class="side_blog_title">Shareable Chat Folders, Custom Wallpapers and More</div>
</a><a href="/blog/power-saving" class="side_blog_entry">
<div class="side_blog_date">Mar 8</div>
<div class="side_blog_title">Power Saving Mode and More</div>
</a><a href="/blog/profile-pics-emoji-translations" class="side_blog_entry">
<div class="side_blog_date">Feb 3</div>
<div class="side_blog_title">Profile Photo Maker, Translating Entire Chats, Emoji Categories and More</div>
</a><a href="/blog/hidden-media-zero-storage-profile-pics" class="side_blog_entry">
<div class="side_blog_date">Dec 30</div>
<div class="side_blog_title">Hidden Media, Zero Storage Usage, New Drawing Tools, and More</div>
</a><a href="/blog/ultimate-privacy-topics-2-0" class="side_blog_entry">
<div class="side_blog_date">Dec 6</div>
<div class="side_blog_title">No-SIM Signup, Auto-Delete All Chats, Topics 2.0 and More</div>
</a><a href="/blog/topics-in-groups-collectible-usernames" class="side_blog_entry">
<div class="side_blog_date">Nov 5</div>
<div class="side_blog_title">Topics in Groups, Collectible Usernames and More</div>
</a>
</div>
</div>
</div></div>
<div id="dev_page_content_wrap" class=" ">
<div class="dev_page_bread_crumbs"></div>
<h1 id="dev_page_title">Telegram Bot Platform</h1>
<div id="dev_page_content"><div class="blog_side_image_wrap">
<img src="/file/811140058/2/7GzMJk4Ij54/a1649c56fa9f805828" class="blog_side_image"/>
</div>
<blockquote>
<p><strong>UPD:</strong> Check out the new <a href="/blog/inline-bots">Inline bots</a> as well!</p>
</blockquote>
<p>Telegram is about freedom and openness our code is open for everyone, as is our API. Today were making another step towards openness by launching a <a href="https://core.telegram.org/bots/api">Bot API and platform</a> for third-party developers to <a href="https://core.telegram.org/bots">create bots</a>. </p>
<p><strong>Bots</strong> are simply Telegram accounts operated by software not people and they&#39;ll often have AI features. They can do anything teach, play, search, broadcast, remind, connect, integrate with other services, or even pass commands to the Internet of Things.</p>
<center><div>
<a href="/file/811140930/1/-2j5fB6r0MA/e02975e21b1977a7db" target="_blank"><img src="/file/811140930/1/-2j5fB6r0MA/e02975e21b1977a7db" title="An image bot integrated with the Bing Image search API" style="width: 245px; padding: 10px 5px" /></a>
<a href="/file/811140690/1/T81U_kqVHsY/e30a06056bb48fa053" target="_blank"><img src="/file/811140690/1/T81U_kqVHsY/e30a06056bb48fa053" title="An empty conversation with a Poll bot" style="width: 245px; padding: 10px 5px" /></a><br><br>
</div></center>
<p>Todays <strong>3.0</strong> update to the <a href="/apps">Telegram apps</a> makes interacting with bots super-easy. In most cases you wont even have to type anything, because bots will provide you with a set of custom buttons.</p>
<blockquote>
<p><a href="https://youtu.be/vN4U5FqrOdQ?t=356"><strong>&quot;Every application needs a slightly optimized set of buttons, just for it.</strong></a><br>Steve Jobs, 2007 iPhone launch</p>
</blockquote>
<p>Bots can now provide you with custom keyboards for specialized tasks that could look like this for example:</p>
<center><div>
<a href="/file/811140470/1/V7A84eVKQzs/8d2ede71e1c118ec69" target="_blank"><img src="/file/811140470/1/V7A84eVKQzs/8d2ede71e1c118ec69" title="'Hot or Bot?' with a custom keyboard." style="width: 245px; padding: 10px 5px" /></a>
<a href="/file/811140849/2/hBPe2YGBahk/3a45817b7e70d3e5f1" target="_blank"><img src="/file/811140849/2/hBPe2YGBahk/3a45817b7e70d3e5f1" title="A sticker rating bot with a custom keyboard." style="width: 245px; padding: 10px 5px" /></a>
</div></center>
<div><br></div>
<p>Here are some sample bots that were built by the platform&#39;s beta testers this past weekend:</p>
<ul>
<li><a href="https://telegram.me/imagebot"><strong>@ImageBot</strong></a> send this bot a keyword and itll provide you with a relevant picture.</li>
<li><a href="https://telegram.me/triviabot"><strong>@TriviaBot</strong></a> test your trivia knowledge or add to groups to compete with friends.</li>
<li><a href="https://telegram.me/pollbot"><strong>@PollBot</strong></a> add this one to group chats to create polls.</li>
<li><a href="https://telegram.me/ratestickerbot"><strong>@RateStickerBot</strong></a> discover and rate new stickers.</li>
<li><a href="https://telegram.me/alertbot"><strong>@AlertBot</strong></a> set a time and this bot will send you a reminder for anything you like.</li>
<li><a href="https://telegram.me/hotorbot"><strong>@HotOrBot</strong></a> find friends with this Tinder-like dating bot.</li>
<li><a href="https://telegram.me/githubbot"><strong>@GithubBot</strong></a> track GitHub updates.</li>
<li><a href="https://telegram.me/storebot"><strong>@StoreBot</strong></a> find new bots and rate them.</li>
</ul>
<div>
<a href="/file/811140327/1/zlN4goPTupk/9ff2f2f01c4bd1b013" target="_blank"><img src="/file/811140934/1/tbDSLHSaijc/fdcc7b6d5fb3354adf" title="The Botfather. Click for hi-res picture" style="max-width: 200px;float:right" /></a>
</div>
<p>Our beta testers needed only a few hours to build these bots setting up a new bot is a breeze. Just generate a key with <a href="https://telegram.me/botfather"><strong>@BotFather</strong></a> and use a simple <a href="https://core.telegram.org/bots/api">https API</a> to control your bot. If youre an engineer, check out our <a href="https://core.telegram.org/bots"><strong>Introduction to bots</strong></a> for details.</p>
<p>Bots in Telegram will look different from human users: their chat and profile screens have a slightly different UI and they don&#39;t have access to <a href="https://core.telegram.org/bots#privacy-mode">all messages</a> by default when added to groups.</p>
<h4><a class="anchor" name="taking-over-the-world" href="#taking-over-the-world"><i class="anchor-icon"></i></a>Taking over the world</h4>
<p>Once you&#39;ve launched your bot, watch it spread. In Telegram, any forwarded message contains a link to its original sender. This means any message from your bot forwarded to a person or group is a messaging equivalent of a retweet bots are viral.</p>
<p>Additionally, all bots have an <strong>Add To Group</strong> and a <strong>Share</strong> button in their profile. You can set up a description and link that will be used when people share your bot on Telegram or other platforms. </p>
<center><div>
<a href="/file/811140953/2/dHhrj9y1jtc/345e500fc7e1ffa5cd" target="_blank"><img src="/file/811140953/2/dHhrj9y1jtc/345e500fc7e1ffa5cd" title="Bot profile featuring the Add to Group, Share and Help buttons." style="width: 245px; padding: 10px 5px" /></a>
<a href="/file/811140572/1/vVg8aeC7SuM/161b45e3907efe6bde" target="_blank"><img src="/file/811140572/1/vVg8aeC7SuM/161b45e3907efe6bde" title="Telegram.me link and short info to easily share a bot." style="width: 245px; padding: 10px 5px" /></a>
</div></center>
<div><br></div>
<p>A typical link to a bot looks like this:</p>
<blockquote>
<p><a href="https://telegram.me/your_bot">https://telegram.me/your_bot</a></p>
</blockquote>
<p>Opening such a link starts a chat with that bot if you have Telegram installed. These links are easy to identify because all bot usernames must end in <strong>bot</strong>.</p>
<p>If the bot developer wants to pass their bot some additional info (like an auth key for example, see <a href="https://core.telegram.org/bots#deep-linking">deep linking</a>), the link might also look like this:</p>
<blockquote>
<p><a href="https://telegram.me/your_bot?start=value">https://telegram.me/your_bot?start=value</a></p>
</blockquote>
<h3><a class="anchor" name="the-bots-are-coming" href="#the-bots-are-coming"><i class="anchor-icon"></i></a>The bots are coming</h3>
<p>Starting today, you&#39;ll see links like this in Telegram and elsewhere. Embrace them, they are bots! They will provide the services you asked us for polls, news, games, integrations, e-butlers or cat images. Any dream can come true with bots.</p>
<div><br></div>
<p><em>The Telegram Team,<br>June 24, 2015</em></p>
<div><br></div>
<p><strong>P.S.</strong> All bot developers are welcome to share ideas for our Bot API on <a href="https://telegram.me/botsupport"><strong>@BotSupport</strong></a>.</p>
<blockquote>
<p>You can read more about the our bot platform in the <a href="https://core.telegram.org/bots"><strong>Introduction to Bots</strong></a> and in the <a href="https://core.telegram.org/bots/api"><strong>Bot API Manual</strong></a>.</p>
</blockquote>
</div>
</div>
<div class="tl_main_share clearfix">
<a href="https://t.me/share/url?url=https%3A%2F%2Ftelegram.org%2Fblog%2Fbot-revolution&text=Telegram%203.0%20introduces%20Bot%20Platform%20%E2%80%94%20free%2C%20open%20and%20super%20easy%20to%20use%20" class="tl_telegram_share_btn" id="tl_telegram_share_btn" data-text="Telegram 3.0 introduces Bot Platform — free, open and super easy to use " data-url="https://telegram.org/blog/bot-revolution"><i class="tl_telegram_share_icon"></i><span class="tl_telegram_share_label" target="_blank">Forward</span></a>
<a href="https://twitter.com/share" class="tl_twitter_share_btn" id="tl_twitter_share_btn" data-text="Telegram 3.0 introduces Bot Platform — free, open and super easy to use " data-url="https://telegram.org/blog/bot-revolution" data-via="Telegram">Tweet <span class="tl_twitter_share_cnt"></span></a>
</div>
</div>
<div class="tl_main_recent_news_wrap tlb_other_news_wrap tl_blog_list_page_wrap">
<h3 class="tl_main_recent_news_header">
<a href="/blog">Other News</a>
</h3>
<div class="tl_main_recent_news_cards clearfix">
<a class="dev_blog_card_link_wrap" href="/blog/stories"><div class="dev_blog_card_wrap">
<img class="dev_blog_card_image" src="https://telegram.org/file/400780400235/1/EGhTEUUJH1w.281459/58c6756821cb43d0ca" />
<div class="dev_blog_card_alltext_wrap">
<h4 class="dev_blog_card_title">Stories and 10 Years of Telegram</h4>
<div class="dev_blog_card_lead">In this update, we launch Stories with a unique dual camera mode, granular privacy settings, flexible duration options and much more.</div>
</div>
<div class="dev_blog_card_date">Aug 14, 2023</div>
</div></a><a class="dev_blog_card_link_wrap" href="/blog/shareable-folders-custom-wallpapers"><div class="dev_blog_card_wrap">
<img class="dev_blog_card_image" src="https://telegram.org/file/464001391/12a08/mxuFQFqs9ig.226529/b33244c17e8def5591" />
<div class="dev_blog_card_alltext_wrap">
<h4 class="dev_blog_card_title">Shareable Chat Folders, Custom Wallpapers and More</h4>
<div class="dev_blog_card_lead">This update lets users share entire chat folders with one link, create custom wallpapers for individual chats, use web apps in any chat…</div>
</div>
<div class="dev_blog_card_date">Apr 21, 2023</div>
</div></a><a class="dev_blog_card_link_wrap" href="/blog/power-saving"><div class="dev_blog_card_wrap">
<img class="dev_blog_card_image" src="https://telegram.org/file/464001102/1249e/myZil1nQBVo.279291/44cdbec9ff40e887d5" />
<div class="dev_blog_card_alltext_wrap">
<h4 class="dev_blog_card_title">Power Saving Mode and More</h4>
<div class="dev_blog_card_lead">This update brings a new power saving mode, optimizes Telegram for lower-end Android devices, adds even more playback speed options, and much more.</div>
</div>
<div class="dev_blog_card_date">Mar 8, 2023</div>
</div></a><a class="dev_blog_card_link_wrap" href="/blog/profile-pics-emoji-translations"><div class="dev_blog_card_wrap">
<img class="dev_blog_card_image" src="https://telegram.org/file/464001685/121ea/HyZSx51MXnw.259992/06800efa6899f9ee32" />
<div class="dev_blog_card_alltext_wrap">
<h4 class="dev_blog_card_title">Profile Photo Maker, Translating Entire Chats, Emoji Categories and More</h4>
<div class="dev_blog_card_lead">Telegram&#39;s first update of the year adds 10 major features by way of a warm-up exercise.</div>
</div>
<div class="dev_blog_card_date">Feb 3, 2023</div>
</div></a>
</div>
</div>
</div>
</div>
</div>
<div class="footer_wrap">
<div class="footer_columns_wrap footer_desktop">
<div class="footer_column footer_column_telegram">
<h5>Telegram</h5>
<div class="footer_telegram_description"></div>
Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed.
</div>
<div class="footer_column">
<h5><a href="/faq">About</a></h5>
<ul>
<li><a href="/faq">FAQ</a></li>
<li><a href="/privacy">Privacy</a></li>
<li><a href="/press">Press</a></li>
</ul>
</div>
<div class="footer_column">
<h5><a href="/apps#mobile-apps">Mobile Apps</a></h5>
<ul>
<li><a href="/dl/ios">iPhone/iPad</a></li>
<li><a href="/android">Android</a></li>
<li><a href="/dl/web">Mobile Web</a></li>
</ul>
</div>
<div class="footer_column">
<h5><a href="/apps#desktop-apps">Desktop Apps</a></h5>
<ul>
<li><a href="//desktop.telegram.org/">PC/Mac/Linux</a></li>
<li><a href="//macos.telegram.org/">macOS</a></li>
<li><a href="/dl/web">Web-browser</a></li>
</ul>
</div>
<div class="footer_column footer_column_platform">
<h5><a href="//core.telegram.org/">Platform</a></h5>
<ul>
<li><a href="//core.telegram.org/api">API</a></li>
<li><a href="//translations.telegram.org/">Translations</a></li>
<li><a href="//instantview.telegram.org/">Instant View</a></li>
</ul>
</div>
</div>
<div class="footer_columns_wrap footer_mobile">
<div class="footer_column">
<h5><a href="/faq">About</a></h5>
</div>
<div class="footer_column">
<h5><a href="/blog">Blog</a></h5>
</div>
<div class="footer_column">
<h5><a href="/apps">Apps</a></h5>
</div>
<div class="footer_column">
<h5><a href="//core.telegram.org/">Platform</a></h5>
</div>
<div class="footer_column">
<h5><a href="https://twitter.com/telegram" target="_blank" data-track="Follow/Twitter" onclick="trackDlClick(this, event)">Twitter</a></h5>
</div>
</div>
</div>
<script src="/js/main.js?47"></script>
<script>twitterCustomShareInit();
blogSideImageInit();
backToTopInit("Go up");
removePreloadInit();
</script>
</body>
</html>