telegram-crawler/data/web/telegram.org/blog/inline-bots.html

236 lines
15 KiB
HTML
Raw Normal View History

2022-02-24 19:51:11 +01:00
<!DOCTYPE html>
<html class="">
<head>
<meta charset="utf-8">
<title>Introducing Inline Bots</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:title" content="Introducing Inline Bots">
<meta property="og:image" content="https://telegram.org/file/811140008/2/zeaA10h0JEo/2cfd8c9eeb11328641">
<meta property="og:site_name" content="Telegram">
<meta property="og:description" content="Inline bots: A new way to interact with bots and send bot-generated content to any chat, group or channel.">
<meta property="article:published_time" content="2016-01-04T13:07:40+00:00"><meta name="twitter:card" content="summary_large_image" /><meta name="twitter:image" content="https://telegram.org/file/811140008/2/zeaA10h0JEo/2cfd8c9eeb11328641" />
<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/inline-bots" />
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
2022-04-21 15:52:36 +02:00
<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" />
2022-02-24 19:51:11 +01:00
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
2022-11-21 13:10:26 +01:00
<link href="/css/telegram.css?233" rel="stylesheet" media="screen">
2022-02-24 19:51:11 +01:00
</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">
2022-05-11 12:26:53 +02:00
<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>
2022-02-24 19:51:11 +01:00
<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">
2022-12-06 19:09:14 +01:00
<a href="/blog/ultimate-privacy-topics-2-0" class="side_blog_entry">
<div class="side_blog_date">Dec 6</div>
2022-12-06 23:00:49 +01:00
<div class="side_blog_title">No-SIM Signup, Auto-Delete All Chats, Topics 2.0 and More</div>
2022-12-06 19:09:14 +01:00
</a><a href="/blog/topics-in-groups-collectible-usernames" class="side_blog_entry">
2022-11-05 13:03:01 +01:00
<div class="side_blog_date">Nov 5</div>
<div class="side_blog_title">Topics in Groups, Collectible Usernames and More</div>
</a><a href="/blog/infinite-reactions-statuses" class="side_blog_entry">
2022-09-16 20:37:12 +02:00
<div class="side_blog_date">Sep 16</div>
<div class="side_blog_title">Infinite Reactions, Emoji Statuses and Much More</div>
</a><a href="/blog/custom-emoji" class="side_blog_entry">
2022-08-12 15:54:02 +02:00
<div class="side_blog_date">Aug 12</div>
<div class="side_blog_title">Custom Animated Emoji, Gifting Telegram Premium, and More</div>
</a><a href="/blog/700-million-and-premium" class="side_blog_entry">
2022-06-21 12:57:44 +02:00
<div class="side_blog_date">Jun 21</div>
<div class="side_blog_title">700 Million Users and Telegram Premium</div>
</a><a href="/blog/notifications-bots" class="side_blog_entry">
2022-04-16 16:05:09 +02:00
<div class="side_blog_date">Apr 16</div>
<div class="side_blog_title">Notification Sounds, Bot Revolution and More</div>
</a><a href="/blog/downloads-attachments-streaming" class="side_blog_entry">
2022-03-11 11:18:47 +01:00
<div class="side_blog_date">Mar 11</div>
<div class="side_blog_title">Download Manager, New Attachment Menu, Live Streaming With Other Apps and More</div>
2022-02-24 19:51:11 +01:00
</a>
</div>
</div>
</div></div>
<div id="dev_page_content_wrap" class=" ">
<div class="dev_page_bread_crumbs"></div>
<h1 id="dev_page_title">Introducing Inline Bots</h1>
<div id="dev_page_content"><div class="blog_side_image_wrap">
<img src="/file/811140008/2/zeaA10h0JEo/2cfd8c9eeb11328641" class="blog_side_image"/>
</div>
<p><a href="https://core.telegram.org/bots">Bots</a> became an integral part of Telegram for many users, but communication with them wasn&#39;t always easy. You had to send them messages in separate chats or add them to your groups. Today we are introducing a quicker way to contact bots.</p>
<p>With the new <a href="https://core.telegram.org/bots/inline">inline mode</a>, bots become omnipresent and can be used as a tool in <strong>any</strong> of your chats, groups or channels it doesn&#39;t matter, whether the bot is a member or not. Inline bots can help you with dozens of different tasks, like quickly sending relevant GIFs, pictures from the Web, YouTube videos, Wikipedia articles, etc.</p>
<div class="smartphone_video_player_wrap">
<div class="smartphone_video_player_iphone">
<video class="smartphone_video_player" onclick="videoTogglePlay(this)" poster="" autoplay loop controls muted>
<source src="/resources/video/BotsAndGifs.mp4" type="video/mp4">
</video>
</div>
</div>
<h4><a class="anchor" name="how-does-it-work" href="#how-does-it-work"><i class="anchor-icon"></i></a>How does it work?</h4>
<p>We&#39;ve created several sample bots for you to try out: <a href="https://telegram.me/gif">@gif</a>, <a href="https://telegram.me/vid">@vid</a>, <a href="https://telegram.me/pic">@pic</a>, <a href="https://telegram.me/bing">@bing</a>, <a href="https://telegram.me/wiki">@wiki</a>, <a href="https://telegram.me/imdb">@imdb</a> and <a href="https://telegram.me/bold">@bold</a>. To see them in action, simply type one of their <em>@usernames</em> in the message field in any chat, then type some keywords. The bot will offer you relevant content.</p>
<center><div>
<a href="/file/811140636/1/hzUbyxse42w/4cd52d0464b44e1e5b" target="_blank"><img src="/file/811140636/1/hzUbyxse42w/4cd52d0464b44e1e5b" title="Inline results from the @gif bot" style="width: 195px; padding: 10px 5px" /></a>
<a href="/file/811140427/4/MCOfIPWd9lo/50b18072b32a64633a" target="_blank"><img src="/file/811140427/4/MCOfIPWd9lo/50b18072b32a64633a" title="Inline results from the @wiki bot" style="width: 195px; padding: 10px 5px" /></a><br>
</div></center>
<p>Tap on an item to instantly send it to the chat. This way you can share stuff from bots without any hassle. Inline bots don&#39;t see any messages in your chats they only receive what you type after their username in the input field.</p>
<center><div>
<a href="/file/811140439/1/rsC4M7x-nqQ/17bdea5ff07ee81a00" target="_blank"><img src="/file/811140439/1/rsC4M7x-nqQ/17bdea5ff07ee81a00" title="GIF shared via the @gif bot" style="width: 195px; padding: 10px 5px" /></a>
<a href="/file/811140886/2/5lYVhE09rBg/2829daf10914fe50d3" target="_blank"><img src="/file/811140886/2/5lYVhE09rBg/2829daf10914fe50d3" title="Inline bots in the suggestions panel" style="width: 195px; padding: 10px 5px" /></a><br>
</div></center>
<p>Tap on <em>via @username</em> to send a new request to the bot. Recently used inline bots will also show up in the suggestion box when you type <code>@</code> in the input field in any chat.</p>
<h4><a class="anchor" name="a-new-dimension-for-bots" href="#a-new-dimension-for-bots"><i class="anchor-icon"></i></a>A new dimension for bots</h4>
<p>Like pretty much everything else at Telegram, inline bots are part of an open platform, available for free to every developer in the world starting today. Hundreds of new inline bots are sure to arrive once developers start supporting the new mode.</p>
<p>If you are a developer, take a look at our <a href="https://core.telegram.org/bots/inline">Introduction to Inline Bots</a>. Also, feel free to subscribe to our official <a href="https://telegram.me/botnews">@BotNews</a> channel to stay up to date on platform news.</p>
<div><br></div>
<p><em>The Telegram Team,<br>January 4, 2016</em></p>
</div>
</div>
<div class="tl_main_share clearfix">
<a href="https://t.me/share/url?url=https%3A%2F%2Ftelegram.org%2Fblog%2Finline-bots&text=Inline%20bots%3A%20A%20new%20way%20to%20interact%20with%20bots%20and%20send%20bot-generated%20content%20to%20any%20chat%2C%20group%20or%20channel." class="tl_telegram_share_btn" id="tl_telegram_share_btn" data-text="Inline bots: A new way to interact with bots and send bot-generated content to any chat, group or channel." data-url="https://telegram.org/blog/inline-bots"><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="Inline bots: A new way to interact with bots and send bot-generated content to any chat, group or channel." data-url="https://telegram.org/blog/inline-bots" 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">
2022-12-06 19:09:14 +01:00
<a class="dev_blog_card_link_wrap" href="/blog/ultimate-privacy-topics-2-0"><div class="dev_blog_card_wrap">
<img class="dev_blog_card_image" src="https://telegram.org/file/464001668/fd89/UBuBIo3AwaM.254718/99f5aa87b728abadf1" />
<div class="dev_blog_card_alltext_wrap">
2022-12-06 23:00:49 +01:00
<h4 class="dev_blog_card_title">No-SIM Signup, Auto-Delete All Chats, Topics 2.0 and More</h4>
2022-12-06 19:09:14 +01:00
<div class="dev_blog_card_lead">With this update, you can have a Telegram account without a SIM card and set up a global timer to automatically delete messages in all…</div>
</div>
<div class="dev_blog_card_date">Dec 6, 2022</div>
</div></a><a class="dev_blog_card_link_wrap" href="/blog/topics-in-groups-collectible-usernames"><div class="dev_blog_card_wrap">
2022-11-05 13:03:01 +01:00
<img class="dev_blog_card_image" src="https://telegram.org/file/464001245/11728/VDo2rwNfZ8Y.264840/cbc986292284a428e2" />
<div class="dev_blog_card_alltext_wrap">
<h4 class="dev_blog_card_title">Topics in Groups, Collectible Usernames, Voice-to-Text for Video Messages and More</h4>
<div class="dev_blog_card_lead">Today&#39;s update adds topics to organize discussions in large groups, a new form of collectible…</div>
</div>
<div class="dev_blog_card_date">Nov 5, 2022</div>
</div></a><a class="dev_blog_card_link_wrap" href="/blog/infinite-reactions-statuses"><div class="dev_blog_card_wrap">
2022-09-16 20:37:12 +02:00
<img class="dev_blog_card_image" src="https://telegram.org/file/464001851/10bd6/sDwj4p_0m-0.293264/66eebb00fd46acb1ce" />
<div class="dev_blog_card_alltext_wrap">
<h4 class="dev_blog_card_title">Infinite Reactions, Emoji Statuses and Much More</h4>
<div class="dev_blog_card_lead">Telegram&#39;s previous update revolutionized emoji, adding an open platform for creating custom animated emoji. This update gives you even…</div>
</div>
<div class="dev_blog_card_date">Sep 16, 2022</div>
</div></a><a class="dev_blog_card_link_wrap" href="/blog/custom-emoji"><div class="dev_blog_card_wrap">
2022-08-12 15:54:02 +02:00
<img class="dev_blog_card_image" src="https://telegram.org/file/464001738/111e0/RVvmuGtCK0A.285280/6148669b1197e199ff" />
<div class="dev_blog_card_alltext_wrap">
<h4 class="dev_blog_card_title">Telegram Emoji Platform, Custom Animated Emoji Packs, Gifting Telegram Premium, and More</h4>
<div class="dev_blog_card_lead">Today&#39;s update introduces the Telegram Emoji Platform, animated emoji in messages and captions…</div>
</div>
<div class="dev_blog_card_date">Aug 12, 2022</div>
2022-02-24 19:51:11 +01:00
</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>
2022-09-09 12:10:24 +02:00
<li><a href="/privacy">Privacy</a></li>
2022-09-09 23:58:59 +02:00
<li><a href="/press">Press</a></li>
2022-02-24 19:51:11 +01:00
</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>
2022-09-09 23:58:59 +02:00
<li><a href="/android">Android</a></li>
<li><a href="/dl/web">Mobile Web</a></li>
2022-02-24 19:51:11 +01:00
</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>
2022-04-19 13:17:31 +02:00
<script src="/js/main.js?46"></script>
2022-02-24 19:51:11 +01:00
<script>initScrollVideos(true);
twitterCustomShareInit();
blogSideImageInit();
backToTopInit("Go up");
removePreloadInit();
</script>
</body>
</html>