{"id":18034,"date":"2018-01-29T14:31:50","date_gmt":"2018-01-29T14:31:50","guid":{"rendered":"http:\/\/developer.kore.ai\/v10-1\/?post_type=docs&#038;p=13054"},"modified":"2022-09-30T18:10:11","modified_gmt":"2022-09-30T17:10:11","slug":"adding-the-telegram-channel","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/channel-enablement\/adding-the-telegram-channel\/","title":{"rendered":"Adding the Telegram Channel"},"content":{"rendered":"<p><span style=\"font-weight: 400\">To add Telegram as a channel to your Kore.ai assistant, you must create a bot on the Telegram platform. Adding the Telegram channel to your Kore.ai VA allows end-users to interact with it using their <\/span><em><span style=\"font-weight: 400\">Telegram<\/span><\/em><span style=\"font-weight: 400\"> account. You need a Telegram account to complete this procedure.<\/span><\/p>\n<p><span style=\"font-weight: 400\">To add the Telegram channel, follow the below steps:<\/span><\/p>\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n<h1><span class=\"ez-toc-section\" id=\"Step_1_Configure_a_Telegram_Bot\"><span style=\"font-weight: 400\">Step 1: Configure a Telegram Bot<\/span><\/span><\/h1>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Log into <\/span><strong>Telegram<\/strong><span style=\"font-weight: 400\"> and search for <\/span><em><span style=\"font-weight: 400\">@BotFather<\/span><\/em><span style=\"font-weight: 400\"> from the Search bar as shown below.<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220930180604\/search-bot-father-new-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-46949\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220930180604\/search-bot-father-new-1.png\" alt=\"\" width=\"640\" height=\"279\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220930180604\/search-bot-father-new-1.png 958w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220930180604\/search-bot-father-new-1-300x131.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/span><span style=\"font-weight: 400\"><br \/><\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Select <\/span><strong>@BotFather <\/strong><span style=\"font-weight: 400\">and click <\/span><strong>START<\/strong><span style=\"font-weight: 400\">.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">In the chat section, type <\/span><em><span style=\"font-weight: 400\">\/newbot<\/span><\/em><span style=\"font-weight: 400\"> in the <\/span><strong>Message <\/strong><span style=\"font-weight: 400\">box and click <\/span><strong>Send<\/strong><span style=\"font-weight: 400\">.<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220930180612\/username-for-bot-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-46955\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220930180612\/username-for-bot-1.png\" alt=\"\" width=\"640\" height=\"583\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220930180612\/username-for-bot-1.png 662w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220930180612\/username-for-bot-1-300x273.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/span><span style=\"font-weight: 400\"><br \/><\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">On sending the<\/span><em><span style=\"font-weight: 400\"> \/newbot<\/span><\/em><span style=\"font-weight: 400\"> message, <\/span><em><span style=\"font-weight: 400\">BotFather<\/span><\/em><span style=\"font-weight: 400\"> prompts you to enter a <\/span><strong>Name<\/strong><span style=\"font-weight: 400\"> for the new bot to be created. Preferably, give the same name as that of the Kore.ai assistant for which the channel is enabled.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">After providing the name, <\/span><em><span style=\"font-weight: 400\">BotFather<\/span><\/em><span style=\"font-weight: 400\"> prompts for the <\/span><strong>Username<\/strong><span style=\"font-weight: 400\"> for the new bot to be created. Provide any name that ends with<\/span><em><span style=\"font-weight: 400\"> bot<\/span><\/em><span style=\"font-weight: 400\">. For example, sample_bot or SampleBot.<br \/><\/span><span style=\"font-weight: 400\"><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220930180608\/username-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-46952\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220930180608\/username-1.png\" alt=\"\" width=\"640\" height=\"389\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220930180608\/username-1.png 1012w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220930180608\/username-1-300x182.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">After providing the username, <\/span><em><span style=\"font-weight: 400\">BotFather<\/span><\/em><span style=\"font-weight: 400\"> displays a confirmation message and access token. Note the access token to enter in the <\/span><strong>Configurations<\/strong><span style=\"font-weight: 400\"> tab of the Telegram Channel page.<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220930180616\/access-token-1-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-46958\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220930180616\/access-token-1-1.png\" alt=\"\" width=\"640\" height=\"394\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220930180616\/access-token-1-1.png 975w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220930180616\/access-token-1-1-300x185.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/span><span style=\"font-weight: 400\"><br \/><\/span><\/li>\n<\/ol>\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n<h1><span class=\"ez-toc-section\" id=\"Step_2_Configure_the_Channel\"><span style=\"font-weight: 400\">Step 2: Configure the Channel<\/span><\/span><\/h1>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">In the XO Platform, select the assistant that you want to enable the channel for.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Go to <\/span><strong>Deploy &gt; Channels &gt; Telegram<\/strong><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Go to the <\/span><strong>Configurations <\/strong><span style=\"font-weight: 400\">tab of the Telegram Channel page, enter the<\/span><strong> Bot Name<\/strong><span style=\"font-weight: 400\"> of your Telegram bot in the <\/span><strong>Bot Name <\/strong><span style=\"font-weight: 400\">field.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Enter the <\/span><strong>Access Token<\/strong><span style=\"font-weight: 400\"> that was displayed as a part of bot creation.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Select <\/span><strong>Yes<\/strong><span style=\"font-weight: 400\"> and then click <\/span><strong>Save<\/strong><span style=\"font-weight: 400\"> to enable the Telegram Channel for your bot.<br \/><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220930180600\/config-channel-6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-46946\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220930180600\/config-channel-6.png\" alt=\"\" width=\"535\" height=\"654\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220930180600\/config-channel-6.png 698w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20220930180600\/config-channel-6-245x300.png 245w\" sizes=\"auto, (max-width: 535px) 100vw, 535px\" \/><\/a><br \/><\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400\">After the channel is enabled and all configurations are verified, you can optionally publish the assistant to make it available for end-users, with the new channel. Learn more about<\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/publish\/publishing-bot\/\"><span style=\"font-weight: 400\"> Publishing your Virtual Assistant<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/p>\n<p><span style=\"font-weight: 400\">To learn more about working with Channels within the Kore.ai XO Platform, please see<\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/channel-enablement\/adding-channels-to-your-bot\/\"><span style=\"font-weight: 400\"> Channel Enablement.<\/span><\/a><\/p>\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>To add Telegram as a channel to your Kore.ai assistant, you must create a bot on the Telegram platform. Adding the Telegram channel to your Kore.ai VA allows end-users to interact with it using their Telegram account. You need a Telegram account to complete this procedure. To add the Telegram channel, follow the below steps:&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-18034","post","type-post","status-publish","format-standard","hentry","category-channel-enablement"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/18034","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/comments?post=18034"}],"version-history":[{"count":4,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/18034\/revisions"}],"predecessor-version":[{"id":46962,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/18034\/revisions\/46962"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=18034"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=18034"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=18034"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}