{"id":1808,"date":"2025-11-28T22:45:08","date_gmt":"2025-11-28T22:45:08","guid":{"rendered":"https:\/\/devad.io\/guides\/?p=1808"},"modified":"2026-01-28T18:21:50","modified_gmt":"2026-01-28T18:21:50","slug":"telegram-ai-agent-chatbot-setup","status":"publish","type":"post","link":"https:\/\/devad.io\/guides\/chat-devad-io-docs\/telegram-ai-agent-chatbot-setup\/","title":{"rendered":"Telegram AI Agent &amp; Chatbot Setup"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"telegram-ai-agent-setup\">How to Setup Telegram AI Agent &amp; Chatbot <\/h2>\n\n\n\n<p>Integrating Telegram allows you to receive messages from your Telegram Bot directly into your chat dashboard. You can reply using AI agents or human support, creating a unified communication hub.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"installation-and-activation\">Installation &amp; Activation<\/h2>\n\n\n\n<p>First, enable the integration within your platform. Go to <strong>Settings &gt; Apps<\/strong>, select <strong>Telegram<\/strong>, and enter your license key to install and activate the app. If you are using the Cloud version, simply click <strong>Active<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-8cf370e7 wp-block-group-is-layout-flex\">\n<h2 class=\"wp-block-heading\" id=\"creating-your-telegram-bot\">Creating Your Telegram Bot<\/h2>\n\n\n\n<div class=\"gspb_heading_sep_gsbp-a10250c\"><div class=\"gspb_heading_sep gspb_heading_sep_before\"><div class=\"gs-numhead__circle\"><span>1<\/span><\/div><\/div><h2 id=\"gspb_heading-id-gsbp-a10250c\" class=\"gspb_heading gspb_heading-id-gsbp-a10250c \">Access BotFather<span class=\"gspb_heading_subtitle\"><\/span><\/h2><\/div>\n\n\n\n<p>Open your Telegram app or web version and search for <strong>@BotFather<\/strong>, or simply click this link: <a href=\"https:\/\/t.me\/botfather\">https:\/\/t.me\/botfather<\/a>. Click <strong>Start<\/strong> to begin interacting with the official bot creation tool.<\/p>\n\n\n\n<div class=\"gspb_heading_sep_gsbp-10f07a5\"><div class=\"gspb_heading_sep gspb_heading_sep_before\"><div class=\"gs-numhead__circle\"><span>2<\/span><\/div><\/div><h2 id=\"gspb_heading-id-gsbp-10f07a5\" class=\"gspb_heading gspb_heading-id-gsbp-10f07a5 \">Initiate New Bot<span class=\"gspb_heading_subtitle\"><\/span><\/h2><\/div>\n\n\n\n<p>Type the command <code>\/newbot<\/code> into the chat. BotFather will ask you to choose a name for your bot. This is the <strong>Display Name<\/strong> users will see in their contact list (e.g., &#8220;Acme Support&#8221;).<\/p>\n\n\n\n<div class=\"gspb_heading_sep_gsbp-3cc3c62\"><div class=\"gspb_heading_sep gspb_heading_sep_before\"><div class=\"gs-numhead__circle\"><span>3<\/span><\/div><\/div><h2 id=\"gspb_heading-id-gsbp-3cc3c62\" class=\"gspb_heading gspb_heading-id-gsbp-3cc3c62 \">Choose Username<span class=\"gspb_heading_subtitle\"><\/span><\/h2><\/div>\n\n\n\n<p>Next, you will be asked for a <strong>Username<\/strong>. This must be unique across all of Telegram and <strong>must end in &#8216;bot&#8217;<\/strong> (e.g., <code>AcmeSupportBot<\/code> or <code>acme_help_bot<\/code>). If the name is taken, try a different variation.<\/p>\n\n\n\n<div class=\"gspb_heading_sep_gsbp-5a53183\"><div class=\"gspb_heading_sep gspb_heading_sep_before\"><div class=\"gs-numhead__circle\"><span>4<\/span><\/div><\/div><h2 id=\"gspb_heading-id-gsbp-5a53183\" class=\"gspb_heading gspb_heading-id-gsbp-5a53183 \">Get API Token<span class=\"gspb_heading_subtitle\"><\/span><\/h2><\/div>\n\n\n\n<p>Once the username is accepted, BotFather will generate an <strong>access token<\/strong> (e.g., <code>123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11<\/code>). Copy this entire string.<\/p>\n\n\n\n<div class=\"gspb_heading_sep_gsbp-a209085\"><div class=\"gspb_heading_sep gspb_heading_sep_before\"><div class=\"gs-numhead__circle\"><span>5<\/span><\/div><\/div><h2 id=\"gspb_heading-id-gsbp-a209085\" class=\"gspb_heading gspb_heading-id-gsbp-a209085 \">Synchronize<span class=\"gspb_heading_subtitle\"><\/span><\/h2><\/div>\n\n\n\n<p>Return to your chat dashboard at <em>Settings &gt; Telegram &gt; Token<\/em>. Paste the API token you copied and click <strong>Synchronize now<\/strong>. All future messages to your bot will now appear in your admin area.<\/p>\n<\/div>\n\n\n\n<p><em>Existing Bots:<\/em> If you already have a bot, simply open BotFather, type <code>\/mybots<\/code>, select your bot from the list, and click <strong>API Token<\/strong> to retrieve your key.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"features-and-compatibility\">Features &amp; Compatibility<\/h2>\n\n\n\n<div class=\"wp-block-greenshift-blocks-accordion gs-accordion gspb_accordion-id-gsbp-tg-features\" id=\"gspb_accordion-id-gsbp-tg-features\" itemscope itemtype=\"https:\/\/schema.org\/FAQPage\">\n<div class=\"wp-block-greenshift-blocks-accordionitem gs-accordion-item gspb_accordionitem-gsbp-tg-rich gsopen\" id=\"gspb_accordionitem-gsbp-tg-rich\" itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><div id=\"gs-trigger-gsbp-tg-features-0\" class=\"gs-accordion-item__title\" aria-expanded=\"true\" role=\"button\" tabindex=\"0\" aria-controls=\"gspb-accordion-item-content-gsbp-tg-rich\"><div class=\"gs-accordion-item__heading\">Rich Messages<\/div><meta itemprop=\"name\" content=\"Rich Messages\"\/><span class=\"iconfortoggle\"><span class=\"gs-iconbefore\"><\/span><span class=\"gs-iconafter\"><\/span><\/span><\/div><div aria-labelledby=\"gs-trigger-gsbp-tg-features-0\" class=\"gs-accordion-item__content\" itemscope itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\" id=\"gspb-accordion-item-content-gsbp-tg-rich\" aria-hidden=\"false\"><div class=\"gs-accordion-item__text\" itemprop=\"text\">\n<p>Rich messages (like buttons or cards) are automatically converted to their Telegram native equivalents whenever possible. If a rich message type isn&#8217;t supported by Telegram, it will simply be removed from the text to prevent errors.<\/p>\n<\/div><\/div><\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-accordionitem gs-accordion-item gspb_accordionitem-gsbp-tg-ai gsclose\" id=\"gspb_accordionitem-gsbp-tg-ai\" itemscope><div id=\"gs-trigger-gsbp-tg-features-1\" class=\"gs-accordion-item__title\" aria-expanded=\"false\" role=\"button\" tabindex=\"0\" aria-controls=\"gspb-accordion-item-content-gsbp-tg-ai\"><div class=\"gs-accordion-item__heading\">AI Capabilities<\/div><span class=\"iconfortoggle\"><span class=\"gs-iconbefore\"><\/span><span class=\"gs-iconafter\"><\/span><\/span><\/div><div aria-labelledby=\"gs-trigger-gsbp-tg-features-1\" class=\"gs-accordion-item__content\" itemscope id=\"gspb-accordion-item-content-gsbp-tg-ai\" aria-hidden=\"true\"><div class=\"gs-accordion-item__text\">\n<p>The system fully supports Chatbot responses and the <strong>Human Takeover<\/strong> feature. Additionally, advanced AI tools like language detection, spelling correction, multilingual translation, and Google search are all compatible with Telegram conversations.<\/p>\n<\/div><\/div><\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-accordionitem gs-accordion-item gspb_accordionitem-gsbp-tg-limit gsclose\" id=\"gspb_accordionitem-gsbp-tg-limit\" itemscope><div id=\"gs-trigger-gsbp-tg-features-2\" class=\"gs-accordion-item__title\" aria-expanded=\"false\" role=\"button\" tabindex=\"0\" aria-controls=\"gspb-accordion-item-content-gsbp-tg-limit\"><div class=\"gs-accordion-item__heading\">Limitations<\/div><span class=\"iconfortoggle\"><span class=\"gs-iconbefore\"><\/span><span class=\"gs-iconafter\"><\/span><\/span><\/div><div aria-labelledby=\"gs-trigger-gsbp-tg-features-2\" class=\"gs-accordion-item__content\" itemscope id=\"gspb-accordion-item-content-gsbp-tg-limit\" aria-hidden=\"true\"><div class=\"gs-accordion-item__text\">\n<p>Please note that the <strong>Speech Recognition<\/strong> feature (via OpenAI) is not currently supported for processing audio messages sent from Telegram.<\/p>\n<\/div><\/div><\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-accordionitem gs-accordion-item gspb_accordionitem-gsbp-tg-auto gsclose\" id=\"gspb_accordionitem-gsbp-tg-auto\" itemscope><div id=\"gs-trigger-gsbp-tg-features-3\" class=\"gs-accordion-item__title\" aria-expanded=\"false\" role=\"button\" tabindex=\"0\" aria-controls=\"gspb-accordion-item-content-gsbp-tg-auto\"><div class=\"gs-accordion-item__heading\">Automated Messages<\/div><span class=\"iconfortoggle\"><span class=\"gs-iconbefore\"><\/span><span class=\"gs-iconafter\"><\/span><\/span><\/div><div aria-labelledby=\"gs-trigger-gsbp-tg-features-3\" class=\"gs-accordion-item__content\" itemscope id=\"gspb-accordion-item-content-gsbp-tg-auto\" aria-hidden=\"true\"><div class=\"gs-accordion-item__text\">\n<p><strong>Follow-up messages<\/strong> are supported but will always be sent, regardless of whether an agent replies. <strong>Offline messages<\/strong> are also supported, although the timetable\/schedule information is not included.<\/p>\n<\/div><\/div><\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-accordionitem gs-accordion-item gspb_accordionitem-gsbp-tg-debug gsclose\" id=\"gspb_accordionitem-gsbp-tg-debug\" itemscope><div id=\"gs-trigger-gsbp-tg-features-4\" class=\"gs-accordion-item__title\" aria-expanded=\"false\" role=\"button\" tabindex=\"0\" aria-controls=\"gspb-accordion-item-content-gsbp-tg-debug\"><div class=\"gs-accordion-item__heading\">Debugging<\/div><span class=\"iconfortoggle\"><span class=\"gs-iconbefore\"><\/span><span class=\"gs-iconafter\"><\/span><\/span><\/div><div aria-labelledby=\"gs-trigger-gsbp-tg-features-4\" class=\"gs-accordion-item__content\" itemscope id=\"gspb-accordion-item-content-gsbp-tg-debug\" aria-hidden=\"true\"><div class=\"gs-accordion-item__text\">\n<p>You can verify the status of your webhook by visiting the following URL in your browser (replace <code>&lt;your_bot_token&gt;<\/code> with your actual API token):<br><code>https:\/\/api.telegram.org\/bot&lt;your_bot_token&gt;\/getWebhookInfo<\/code><\/p>\n<\/div><\/div><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>How to Setup Telegram AI Agent &amp; Chatbot Integrating Telegram allows you to receive messages from your Telegram Bot directly into your chat dashboard. You&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_gspb_post_css":"#gspb_accordion-id-gsbp-tg-features .gs-accordion-item.gsclose>.gs-accordion-item__content{overflow:hidden;opacity:0}#gspb_accordion-id-gsbp-tg-features .gs-accordion-item.gsopen>.gs-accordion-item__content{opacity:1;max-height:5000px}#gspb_accordion-id-gsbp-tg-features .gs-accordion-item>.gs-accordion-item__title>.gs-accordion-item__heading{outline:0;text-decoration:none;margin:0!important;padding:0!important;flex-grow:1}#gspb_accordion-id-gsbp-tg-features .gs-accordion-item>.gs-accordion-item__title{z-index:1;margin:0;cursor:pointer;transition:all .3s ease-in-out;position:relative;display:flex;justify-content:space-between;align-items:center;flex-wrap:nowrap}#gspb_accordion-id-gsbp-tg-features .gs-accordion-item>.gs-accordion-item__content{z-index:0;position:relative;max-height:0;will-change:max-height;transition:all .25s ease-out}#gspb_accordion-id-gsbp-tg-features .gs-accordion-item>.gs-accordion-item__content,#gspb_accordion-id-gsbp-tg-features .gs-accordion-item>.gs-accordion-item__title{background-color:#f9f9f9;border-style:solid;border-width:1px;border-color:var(--wp--preset--color--border, #00000012)}#gspb_accordion-id-gsbp-tg-features .gs-accordion-item>.gs-accordion-item__content{background-color:#fff;border-top-color:#00000000}#gspb_accordion-id-gsbp-tg-features .gs-accordion-item>.gs-accordion-item__title span.iconfortoggle{margin-left:15px;display:inline-block;height:14px;width:14px;position:relative}#gspb_accordion-id-gsbp-tg-features .gs-accordion-item{margin-bottom:10px}#gspb_accordion-id-gsbp-tg-features .gs-accordion-item>.gs-accordion-item__content>.gs-accordion-item__text,#gspb_accordion-id-gsbp-tg-features .gs-accordion-item>.gs-accordion-item__title{padding:15px 20px}#gspb_accordion-id-gsbp-tg-features .gs-accordion-item>.gs-accordion-item__title{text-align:center}.gs-accordion .gs-accordion-item.gsopen .gs-accordion-item__title .gs-iconafter{transform:rotate(0)}.gs-accordion .gs-accordion-item__title span.iconfortoggle .gs-iconafter,.gs-accordion .gs-accordion-item__title span.iconfortoggle .gs-iconbefore{content:'';width:14px;height:2px;border-radius:2px;background-color:#111;position:absolute;top:6px;left:0}.gs-accordion .gs-accordion-item__title span.iconfortoggle .gs-iconafter{transform:rotate(90deg);transition:all .3s ease-in-out}#gspb_heading-id-gsbp-a10250c{margin-top:0;margin-bottom:0}.gspb_heading_sep_gsbp-10f07a5,.gspb_heading_sep_gsbp-3cc3c62,.gspb_heading_sep_gsbp-5a53183,.gspb_heading_sep_gsbp-a10250c,.gspb_heading_sep_gsbp-a209085{display:flex;align-items:center}.gspb_heading_sep_gsbp-a10250c>.gspb_heading_sep{width:40px}.gspb_heading_sep_gsbp-a10250c .gs-numhead__circle{border:3px solid #2184f9;border-radius:50%;box-sizing:content-box;display:inline-block;font-weight:700;text-align:center;overflow:hidden;color:#2184f9;width:calc(40px - 6px);min-width:calc(40px - 6px);height:calc(40px - 6px);line-height:calc(40px - 6px);font-size:24px}.gspb_heading_sep_gsbp-a10250c .gspb_heading_sep_before{margin-right:17px}#gspb_heading-id-gsbp-a10250c .gspb_heading_subtitle,#gspb_subheading-id-gsbp-a10250c{display:block;font-size:17px;line-height:22px;font-weight:400!important;margin-top:2px}#gspb_heading-id-gsbp-10f07a5{margin-top:0;margin-bottom:0}.gspb_heading_sep_gsbp-10f07a5>.gspb_heading_sep{width:40px}.gspb_heading_sep_gsbp-10f07a5 .gs-numhead__circle{border:3px solid #2184f9;border-radius:50%;box-sizing:content-box;display:inline-block;font-weight:700;text-align:center;overflow:hidden;color:#2184f9;width:calc(40px - 6px);min-width:calc(40px - 6px);height:calc(40px - 6px);line-height:calc(40px - 6px);font-size:24px}.gspb_heading_sep_gsbp-10f07a5 .gspb_heading_sep_before{margin-right:17px}#gspb_heading-id-gsbp-10f07a5 .gspb_heading_subtitle,#gspb_subheading-id-gsbp-10f07a5{display:block;font-size:17px;line-height:22px;font-weight:400!important;margin-top:2px}#gspb_heading-id-gsbp-3cc3c62{margin-top:0;margin-bottom:0}.gspb_heading_sep_gsbp-3cc3c62>.gspb_heading_sep{width:40px}.gspb_heading_sep_gsbp-3cc3c62 .gs-numhead__circle{border:3px solid #2184f9;border-radius:50%;box-sizing:content-box;display:inline-block;font-weight:700;text-align:center;overflow:hidden;color:#2184f9;width:calc(40px - 6px);min-width:calc(40px - 6px);height:calc(40px - 6px);line-height:calc(40px - 6px);font-size:24px}.gspb_heading_sep_gsbp-3cc3c62 .gspb_heading_sep_before{margin-right:17px}#gspb_heading-id-gsbp-3cc3c62 .gspb_heading_subtitle,#gspb_subheading-id-gsbp-3cc3c62{display:block;font-size:17px;line-height:22px;font-weight:400!important;margin-top:2px}#gspb_heading-id-gsbp-5a53183{margin-top:0;margin-bottom:0}.gspb_heading_sep_gsbp-5a53183>.gspb_heading_sep{width:40px}.gspb_heading_sep_gsbp-5a53183 .gs-numhead__circle{border:3px solid #2184f9;border-radius:50%;box-sizing:content-box;display:inline-block;font-weight:700;text-align:center;overflow:hidden;color:#2184f9;width:calc(40px - 6px);min-width:calc(40px - 6px);height:calc(40px - 6px);line-height:calc(40px - 6px);font-size:24px}.gspb_heading_sep_gsbp-5a53183 .gspb_heading_sep_before{margin-right:17px}#gspb_heading-id-gsbp-5a53183 .gspb_heading_subtitle,#gspb_subheading-id-gsbp-5a53183{display:block;font-size:17px;line-height:22px;font-weight:400!important;margin-top:2px}#gspb_heading-id-gsbp-a209085{margin-top:0;margin-bottom:0}.gspb_heading_sep_gsbp-a209085>.gspb_heading_sep{width:40px}.gspb_heading_sep_gsbp-a209085 .gs-numhead__circle{border:3px solid #2184f9;border-radius:50%;box-sizing:content-box;display:inline-block;font-weight:700;text-align:center;overflow:hidden;color:#2184f9;width:calc(40px - 6px);min-width:calc(40px - 6px);height:calc(40px - 6px);line-height:calc(40px - 6px);font-size:24px}.gspb_heading_sep_gsbp-a209085 .gspb_heading_sep_before{margin-right:17px}#gspb_heading-id-gsbp-a209085 .gspb_heading_subtitle,#gspb_subheading-id-gsbp-a209085{display:block;font-size:17px;line-height:22px;font-weight:400!important;margin-top:2px}","pgc_sgb_lightbox_settings":"","footnotes":"","_siteseo_titles_title":"","_siteseo_titles_desc":"","_siteseo_analysis_target_kw":"","_siteseo_robots_canonical":"","_siteseo_robots_index":"","_siteseo_robots_follow":"","_siteseo_robots_primary_cat":"","_siteseo_social_fb_title":"","_siteseo_social_fb_desc":"","_siteseo_social_fb_img":"","_siteseo_social_twitter_title":"","_siteseo_social_twitter_desc":"","_siteseo_social_twitter_img":""},"categories":[2,120],"tags":[],"class_list":["post-1808","post","type-post","status-publish","format-standard","hentry","category-chat-devad-io-docs","category-telegram"],"acf":[],"menu_order":0,"_links":{"self":[{"href":"https:\/\/devad.io\/guides\/wp-json\/wp\/v2\/posts\/1808","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devad.io\/guides\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devad.io\/guides\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devad.io\/guides\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/devad.io\/guides\/wp-json\/wp\/v2\/comments?post=1808"}],"version-history":[{"count":2,"href":"https:\/\/devad.io\/guides\/wp-json\/wp\/v2\/posts\/1808\/revisions"}],"predecessor-version":[{"id":2471,"href":"https:\/\/devad.io\/guides\/wp-json\/wp\/v2\/posts\/1808\/revisions\/2471"}],"wp:attachment":[{"href":"https:\/\/devad.io\/guides\/wp-json\/wp\/v2\/media?parent=1808"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devad.io\/guides\/wp-json\/wp\/v2\/categories?post=1808"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devad.io\/guides\/wp-json\/wp\/v2\/tags?post=1808"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}