Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 2.28 KB

README.md

File metadata and controls

49 lines (34 loc) · 2.28 KB

A Telegram bot 🤖 skeleton project

CC BY-NC-SA 4.0

Content

This projet file is a skeleton for implementing Telegram messenger application bot. When complete, it will integrate several features:

  • Implementation of commands in menu
  • Basic text replies
  • Image processing filters

Project description and tasks to do

The project is not complete and is intented to be completed in a live coding session. The full project instructions, in French, is available as a PDF file with clickable links. The password is accessible on request.

Audience

This bot is targeted at students with an existing background in programming, mainly in Java. It was made to demonstrate some things taught during the Computer science and communication bachelor's degree at the School of engineering in Sion, Switzerland.

Deployment

When complete, the bot can be built and run indepently thanks to Maven packaging, i.e. running

mvn compile package

should result in a runnable JAR file in the target directory. Tada!

A word of caution though ⚠️ : do not integrate the authentication token directly in your source code. A better way of integrating the token from outside the code is to set an environment variable and get it with a call to System.getEnv(YOUR_ENV_VARIABLE) where required. You have been warned !

Demonstration of a full, running bot

A more complete and running instance of the bot, based on this template, can be reached through https://telegram.me/HEI_ISCbot if you want to test it and if it's running.

Enjoy and have fun programming 🎈 !

Pierre-André Mudry, February 2022

License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

CC BY-NC-SA 4.0