mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-11-25 00:38:33 +01:00
279 lines
18 KiB
HTML
279 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="alternate icon" href="/favicon.ico?4" type="image/x-icon" />
|
||
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
|
||
|
||
<link href="/css/telegram.css?215" rel="stylesheet" media="screen">
|
||
<style>
|
||
</style>
|
||
</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> <b class="minicaret"></b></a>
|
||
<ul class="dropdown-menu"><li class=""><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/video-stickers-better-reactions" class="side_blog_entry">
|
||
<div class="side_blog_date">Jan 31</div>
|
||
<div class="side_blog_title">Video Stickers, Better Reactions and More</div>
|
||
</a><a href="/blog/reactions-spoilers-translations" class="side_blog_entry">
|
||
<div class="side_blog_date">Dec 30</div>
|
||
<div class="side_blog_title">Reactions, Spoilers, Translation and QR Codes</div>
|
||
</a><a href="/blog/protected-content-delete-by-date-and-more" class="side_blog_entry">
|
||
<div class="side_blog_date">Dec 7</div>
|
||
<div class="side_blog_title">Protected Content, Delete by Date, Device Management and More</div>
|
||
</a><a href="/blog/shared-media-scrolling-calendar-join-requests-and-more" class="side_blog_entry">
|
||
<div class="side_blog_date">Nov 3</div>
|
||
<div class="side_blog_title">Hyper-Speed Scrolling and Calendar View for Shared Media, Join Requests and More</div>
|
||
</a><a href="/blog/chat-themes-interactive-emoji-read-receipts" class="side_blog_entry">
|
||
<div class="side_blog_date">Sep 19</div>
|
||
<div class="side_blog_title">Chat Themes, Interactive Emoji, Read Receipts in Groups</div>
|
||
</a><a href="/blog/live-streams-forwarding-next-channel" class="side_blog_entry">
|
||
<div class="side_blog_date">Aug 31</div>
|
||
<div class="side_blog_title">Live Streams, Flexible Forwarding and More</div>
|
||
</a><a href="/blog/video-1000" class="side_blog_entry">
|
||
<div class="side_blog_date">Jul 30</div>
|
||
<div class="side_blog_title">Video Calls with up to 1000 Viewers, Video Playback Speed 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/video-stickers-better-reactions"><div class="dev_blog_card_wrap">
|
||
<img class="dev_blog_card_image" src="https://telegram.org/file/464001234/e805/Z0pNrCJET-E.104373/a38ce74977bc53b064" />
|
||
<div class="dev_blog_card_alltext_wrap">
|
||
<h4 class="dev_blog_card_title">Video Stickers, Better Reactions and More</h4>
|
||
<div class="dev_blog_card_lead">This update brings easy-to-make video stickers, better reactions with more compact animations and extra emoji, a button to review unseen…</div>
|
||
</div>
|
||
<div class="dev_blog_card_date">Jan 31, 2022</div>
|
||
</div></a><a class="dev_blog_card_link_wrap" href="/blog/reactions-spoilers-translations"><div class="dev_blog_card_wrap">
|
||
<img class="dev_blog_card_image" src="https://telegram.org/file/464001488/d35b/oNi_rR0In0o.124097/c74f7d759893b78bfb" />
|
||
<div class="dev_blog_card_alltext_wrap">
|
||
<h4 class="dev_blog_card_title">Reactions, Spoilers, Translation and QR Codes</h4>
|
||
<div class="dev_blog_card_lead">Telegram's 12th update of the year introduces reactions, message translation, themed QR codes, hidden text (spoilers), and more.</div>
|
||
</div>
|
||
<div class="dev_blog_card_date">Dec 30, 2021</div>
|
||
</div></a><a class="dev_blog_card_link_wrap" href="/blog/protected-content-delete-by-date-and-more"><div class="dev_blog_card_wrap">
|
||
<img class="dev_blog_card_image" src="https://telegram.org/file/464001572/2/u_lvhH-CjJ0.99595/a7fca60f9c9e6e193c" />
|
||
<div class="dev_blog_card_alltext_wrap">
|
||
<h4 class="dev_blog_card_title">Protected Content, Delete by Date, Device Management and More</h4>
|
||
<div class="dev_blog_card_lead">Today's update brings tools to prevent others from saving content from groups and channels, the ability to delete messages for specific…</div>
|
||
</div>
|
||
<div class="dev_blog_card_date">Dec 7, 2021</div>
|
||
</div></a><a class="dev_blog_card_link_wrap" href="/blog/shared-media-scrolling-calendar-join-requests-and-more"><div class="dev_blog_card_wrap">
|
||
<img class="dev_blog_card_image" src="https://telegram.org/file/464001930/3/yPTwxfusWZg.174275/3f847742c263cdae99" />
|
||
<div class="dev_blog_card_alltext_wrap">
|
||
<h4 class="dev_blog_card_title">Hyper-Speed Scrolling and Calendar View for Shared Media, Join Requests, Global Chat Themes on iOS and More</h4>
|
||
<div class="dev_blog_card_lead">Today's update brings new ways to find memories in shared media with accelerated scrolling…</div>
|
||
</div>
|
||
<div class="dev_blog_card_date">Nov 3, 2021</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="/blog">Blog</a></li>
|
||
<li><a href="/jobs">Jobs</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="/dl/android">Android</a></li>
|
||
<li><a href="/dl/wp">Windows Phone</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?43"></script>
|
||
|
||
<script>initScrollVideos(true);
|
||
twitterCustomShareInit();
|
||
blogSideImageInit();
|
||
backToTopInit("Go up");
|
||
removePreloadInit();
|
||
</script>
|
||
</body>
|
||
</html>
|
||
|