mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-11-30 04:03:06 +01:00
280 lines
18 KiB
HTML
280 lines
18 KiB
HTML
<!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">O‘zbek</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/february2024" class="side_blog_entry">
|
||
<div class="side_blog_date">Feb 29</div>
|
||
<div class="side_blog_title">Stories for Groups and 8 More Features</div>
|
||
</a><a href="/blog/new-saved-messages-and-9-more" class="side_blog_entry">
|
||
<div class="side_blog_date">Jan 31</div>
|
||
<div class="side_blog_title">Saved Messages 2.0, One-Time Voice Messages and 8 More Features</div>
|
||
</a><a href="/blog/calls-and-bots" class="side_blog_entry">
|
||
<div class="side_blog_date">Dec 31</div>
|
||
<div class="side_blog_title">Colorful Calls, Thanos Snap Effect, and Better Bots</div>
|
||
</a><a href="/blog/posts-in-stories-and-more" class="side_blog_entry">
|
||
<div class="side_blog_date">Dec 23</div>
|
||
<div class="side_blog_title">Channel Appearance, Posts in Stories and More</div>
|
||
</a><a href="/blog/similar-channels" class="side_blog_entry">
|
||
<div class="side_blog_date">Nov 30</div>
|
||
<div class="side_blog_title">Similar Channels, Reposting Stories, and 9 More Features</div>
|
||
</a><a href="/blog/giveaways" class="side_blog_entry">
|
||
<div class="side_blog_date">Nov 6</div>
|
||
<div class="side_blog_title">Giveaways in Channels and Free Premium</div>
|
||
</a><a href="/blog/reply-revolution" class="side_blog_entry">
|
||
<div class="side_blog_date">Oct 28</div>
|
||
<div class="side_blog_title">Replies 2.0, Adjustable Link Previews, Name Colors 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 we’re 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'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>Today’s <strong>3.0</strong> update to the <a href="/apps">Telegram apps</a> makes interacting with bots super-easy. In most cases you won’t 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>"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'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 it’ll 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 you’re 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'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'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'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/february2024"><div class="dev_blog_card_wrap">
|
||
<img class="dev_blog_card_image" src="https://telegram.org/file/400780400044/4/Q1UaSDMMPHI.306200/1704172cc8fc21b436" />
|
||
<div class="dev_blog_card_alltext_wrap">
|
||
<h4 class="dev_blog_card_title">Stories for Groups and 8 More Features</h4>
|
||
<div class="dev_blog_card_lead">Telegram brings conversation in groups to an entire new level with 9 new features that redefine many-to-many communication. Now, groups can publish stories and save them as posts on…</div>
|
||
</div>
|
||
<div class="dev_blog_card_date">Feb 29, 2024</div>
|
||
</div></a><a class="dev_blog_card_link_wrap" href="/blog/new-saved-messages-and-9-more"><div class="dev_blog_card_wrap">
|
||
<img class="dev_blog_card_image" src="https://telegram.org/file/400780400296/1/9NHuUm1khJE.300782/913468ac6a12d3161d" />
|
||
<div class="dev_blog_card_alltext_wrap">
|
||
<h4 class="dev_blog_card_title">Saved Messages 2.0, One-Time Voice Messages and 8 More Features</h4>
|
||
<div class="dev_blog_card_lead">Throughout January, we added 10 new features to Telegram – including upgraded Saved Messages, one-time voice and video messages that delete…</div>
|
||
</div>
|
||
<div class="dev_blog_card_date">Jan 31, 2024</div>
|
||
</div></a><a class="dev_blog_card_link_wrap" href="/blog/calls-and-bots"><div class="dev_blog_card_wrap">
|
||
<img class="dev_blog_card_image" src="https://telegram.org/file/400780400149/1/BSY3rQYfUhs.332063/6b257c0dc671d7be2c" />
|
||
<div class="dev_blog_card_alltext_wrap">
|
||
<h4 class="dev_blog_card_title">Colorful Calls, Thanos Snap Effect, and an Epic Update for Bots</h4>
|
||
<div class="dev_blog_card_lead">Telegram's 10th update of 2023 adds improved calls with a colorful new design that use less of your phone's battery, a new vaporize effect…</div>
|
||
</div>
|
||
<div class="dev_blog_card_date">Dec 31, 2023</div>
|
||
</div></a><a class="dev_blog_card_link_wrap" href="/blog/posts-in-stories-and-more"><div class="dev_blog_card_wrap">
|
||
<img class="dev_blog_card_image" src="https://telegram.org/file/400780400793/2/VkvuurAxFVg.277684/e7d479017cc416a63a" />
|
||
<div class="dev_blog_card_alltext_wrap">
|
||
<h4 class="dev_blog_card_title">Channel Appearance, Posts in Stories and More</h4>
|
||
<div class="dev_blog_card_lead">In Telegram's Christmas update, channels can set wallpapers, emoji statuses and profile logos, users can repost channel messages to stories…</div>
|
||
</div>
|
||
<div class="dev_blog_card_date">Dec 23, 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="/press">Press</a></h5>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<script src="/js/main.js?47"></script>
|
||
|
||
<script>twitterCustomShareInit();
|
||
blogSideImageInit();
|
||
backToTopInit("Go up");
|
||
removePreloadInit();
|
||
</script>
|
||
</body>
|
||
</html>
|
||
|