We’ve changed our name! API.AI is now Dialogflow. Learn more here.

Telegram

Dialogflow Telegram Integration allows you to easily create Telegram bots with natural language understanding based on the Dialogflow technology.

Setting Up Telegram

In order to set up the Telegram integration for your agent, you'll need the following:

Creating a Bot in Telegram

  1. Login to Telegram and go to https://telegram.me/botfather
  2. Click the Start button in the web interface or type /start
  3. Click on or type /newbot and enter a name
  4. Enter a username for the bot, ending in "bot" (e.g. garthsweatherbot)
  5. Copy the generated access token

Setting Up Dialogflow

  1. In Dialogflow, go to Integrations in the left hand menu
  2. Click on the Telegram tile
  3. Paste the Access Token into the related field
  4. Click the Start button

Testing

BotFather will provide a link to your bot once you've completed the setup. Go to this link to test out your agent.