-
Notifications
You must be signed in to change notification settings - Fork 135
Client Telegram
The Telegram Client provides a way for a Telegram Messenger to interact with a bot client.
To begin, you'll need an Access Token. Read and follow the Introduction to the API on the Telegram Developer website. When you are ready you then need to create an Access Token, which do by talking to the @BotFather via Telegram Messenger and follow a few simple steps.
Once you have your access token, you need to add an entry into the license.kets file
TELEGRAM_TOKEN = XXXXXXX
Other than this, Telegram client needs little configuration apart from which message to return if you send it an unknown command. This can be configured by adding the following client configuration to config.yaml
telegram:
unknown_command: Sorry, that is not a command I have been taught yet!
To run the Facebook client, you can use the shell script in Y-Bot scripts folder
./y-bot-telegram.sh
Or you can use the command line
python3 -m programy.clients.polling.telegram.client --config <PATH TO CONFIG> --cformat yaml --logging <PATH TO LOGGING>
Email: [email protected] | Twitter: @keiffster | Facebook: keith.sterling | LinkedIn: keithsterling | My Blog
- Home
- Background
- Guiding Principles
- Reporting an Issue
- Installation
- You And Your Bot
- Bots
- Clients
- Configuration
- AIML
- Sentence Splitting
- Natural Langauge Processing
- Normalization
- Spelling
- Sentiment Analysis
- Translation
- Security
- Hot Reload
- Logging
- Out of Band
- Multi Language
- RDF Support
- Rich Media
- Asynchronous Events
- Triggers
- External Services
- Dynamic Sets, Maps & Vars
- Extensions
- Pre & Post Processors
- Custom Nodes
- The Brain Tree
- Utilities
- Building It Yourself
- Creating Your Own Bot
- Contributing
- Performance Testing
- FAQ
- History
- Website