Telegram
These docs are for version 1.x of Rasa Open Source. Docs for the new version 2.0 can be found here.
User Guide
- Installation
- Tutorial: Rasa Basics
- Tutorial: Building Assistants
- Command Line Interface
- Architecture
- Messaging and Voice Channels
- Testing Your Assistant
- Setting up CI/CD
- Validate Data
- Configuring the HTTP API
- Deploying Your Rasa Assistant
- Cloud Storage
NLU
- About
- Using NLU Only
- Training Data Format
- Language Support
- Choosing a Pipeline
- Components
- Entity Extraction
Core
- About
- Stories
- Domains
- Responses
- Actions
- Reminders and External Events
- Policies
- Slots
- Forms
- Retrieval Actions
- Interactive Learning
- Fallback Actions
- Knowledge Base Actions
Conversation Design
API Reference
- Action Server
- HTTP API
- Jupyter Notebooks
- Agent
- Custom NLU Components
- Rasa SDK
- Events
- Tracker
- Tracker Stores
- Event Brokers
- Lock Stores
- Training Data Importers
- Featurization of Conversations
- TensorFlow Configuration
- Migration Guide
- Rasa Open Source Change Log
Migrate from (beta)
Reference
Versions
viewing: 1.10.2
Telegram
You first have to create a Telegram bot to get credentials.
Once you have them you can add these to your credentials.yml.
Getting Credentials
How to get the Telegram credentials:
You need to set up a Telegram bot.
To create the bot, go to Bot Father,
enter/newbotand follow the instructions.At the end you should get your
access_tokenand the username you
set will be yourverify.If you want to use your bot in a group setting, it’s advisable to
turn on group privacy mode by entering/setprivacy. Then the bot
will only listen when a user’s message starts with/bot.
For more information, check out the Telegram HTTP API.
Running on Telegram
If you want to connect to telegram using the run script, e.g. using:
`rasa run`
you need to supply a credentials.yml with the following content:
telegram:
access_token: "490161424:AAGlRxinBRtKGb21_rlOEMtDFZMXBl6EC0o"
verify: "your_bot"
webhook_url: "https://your_url.com/webhooks/telegram/webhook"
👋 I can help you get started with Rasa and answer your technical questions.