Creating Telegram Bot for openSUSE ID Translators Team
How to create Telegram Bot using Python
Yan Arief
I am an linux and FOSS enthusiast, I live in Yogyakarta - Indonesia. I started using openSUSE since 2006.
No video of the event yet, sorry!
openSUSE ID Translators Team uses telegram to coordinate and communicate. Currently, there are 19 translators and around one hundred translation projects that we are working on, and we need a tool to facilitate the recording of translator activities and to display the on-going project. We have created a Telegram bot as a solution for these needs. The advantages of using the Telegram bot, among others, are easy to be integrated into the telegram group, easy to build using various programming languages, and easy to use.
The bot is built using python as the programming language and MySQL for the database. Bot Backend was installed on the server of Indonesian openSUSE community. The bot that we built has the feature to record and save the projects that have been worked on by the translators, and English-Indonesian dictionary for frequently used technical vocabulary. In order to register the telegram bot, a message was sent to the telegram BotFather account to get the HTTP API token and also to register the commands in the bot.
The examples of the commands: (/start) – for welcome message, (/translators) – for the list of translators with the project that they are working on, (/proyektranslasi @tgusername=project) – for saving the translation projects, (/kamus word) – for Indonesia - English dictionary.
In this talk, we will explain the steps in creating a telegram bot from scratch using python programming language, and in registering the bot in BotFather, and in testing the application.
- Date:
- 2017 October 22 - 11:15
- Duration:
- 30 min
- Room:
- Room 1
- Conference:
- openSUSE.Asia Summit 2017
- Language:
- Track:
- openSUSE
- Difficulty:
- Easy
- UEC Programming School
- Start Time:
- 2017 October 22 09:00
- Room:
- Alliance Center
- Managing Volunteers in openSUSE Asia Summit 2016
- Start Time:
- 2017 October 22 11:15
- Room:
- Workshop Space
- A War of File Format
- Start Time:
- 2017 October 22 11:15
- Room:
- Main Room