A Python Telegram Bot that works as a helpdesk software.
When a client sends a support message to the bot, it forwards the message to you or your company's group and you can reply it. Replying the message makes the bot reply the client.
- Install the requirements
$ pip install -r requirements.txt
$ sudo apt-get install redis-server
-
Setup your bot token and the chat to which it will forward messages in the
config.ini
file. -
Run the redis-server
$ redis-server
- In another instance, open the Python shell and run:
from main import updater
updater.start_polling()
As long as you want your bot responding, keep this running. When you want to stop, just run:
updater.stop()
PS: Keep in mind that you will have to generate the locale .mo
files.
Copyright (C) 2016 Júlia Rizza & licensed under MIT License
- Add Documents for Generating mo files from po files
- Generate po file for Persian Language
- Write Documents about user_id
- Write Documents about creating a virtualenv for project
- Restructuring main.py so it can be run like this : python main.py
- Discuss how to handle multiple operators