My objective is to create my own bot @EscrowBot. Found plenty of Telegram Bots out there, trust me! But, I prefer to list down my all time favorite bots here for future development and providing you an easy guide to set up - forget it. Plug and play, everything handled by API. All these bots are written in Phyton, Java, C#, Ruby, Go, Lua and Haskell. I have only experienced Phyton and Lua myself
https://github.com/yagop/telegram-bot (written in LUA)
https://github.com/jh0ker/welcomebot (written in PYTHON)
https://github.com/yukuku/telebot (written in PYTHON)
Bots Library of Python
https://github.com/python-telegram-bot
@BotFather is compulsory to hook them up with API
Yagop and Yukuku, both already have a well written guide. So, I will not emphasize anymore as it is straight out of box. But, I would like to thank Jannes Hoke, @jh0ker creator of welcomebot who gave me on site support over my deployment. I really appreciate that 5 hours sessions because I couldn't find any guide out there to help me out. Hence, I decided to write a guide to help the community before I have memory loss.
Note that Python has many libraries. Ensure that you feed the bots with the correct Python library and host them correctly. For telebot and welcomebot, you may simply host it at Ubuntu 14.04 desktop whereas telegram-bot, you may host it at Google Appspot Cloud Console. Environment is different, even though I try to host welcomebot there, it throws out a bunch of errors. So, don't use it! Lead developer agreed with me.
Now, you got to look at the PYTHON itself, welcomebot uses python3. In fact, both version of python2 and python3 can coexist in Ubuntu 14.04, just make sure you load the library in the correct environment so that the examples of clibot.py, echobot2.py located in python-telegram-bot-master may test run flawlessly before you put actual test on welcomebot.
Some terminal commands you may need below
Brought to you by
www.airkayu.com
sudo apt-get install python-pip
sudo python clibot.py
sudo python echobot2.py
pip3 install python-telegram-bot
sudo apt-get install python3-pip
python3 --version
Optional: sudo pip3 install -r requirements.txt
python3 -V
Optional: sudo pip3 install -r requirements-dev.txt
Optional: sudo make test
sudo python3 bot.py
Don't forget reboot!