Creation of Telegram bots with Python

Mario Garcia (~mattdark)


12

Votes

Description:

Telegram is a messaging app that focus on security and supports the use of stickers and creation of bots, as so many other useful features. To create bots there's a bot named BotFather and the Telegram Bot API. BotFather is used to create the bot and do some basic configuration. Bot features and tasks are programmed with some programming languages like Python. For Python there's a library named python-telegram-bot that provides an interface for the Telegram Bot API, compatible with Python versions 2.7, 3.3+ and can be used for creating chatbots, bots that create graphs for math functions, etc.

Agenda:

  1. What is a bot?
  2. Introduction to the Telegram Bot API
  3. First steps with BotFather
  4. Let's write a first Telegram bot!
  5. The bot running

Requirements

  1. Python 3.3+
  2. A text editor like Atom, Sublime Text, Notepad++
  3. python-telegram-bot. instructions: https://github.com/python-telegram-bot/python-telegram-bot
  4. A Telegram account created and the app for Android, Windows, Linux or Mac

Prerequisites:

  1. Basic knowledge of Python
  2. Previous use of Telegram (Optional)

Content URLs:

The presentation will be available in a few days here: https://github.com/mattdark/telegram-bots-presentation

I will published an article in my blog: https://medium.com/@mattdark

There are some examples on my GitHub account: https://github.com/mattdark

Speaker Info:

Mario García has been a Free Software user and promoter for the last ten years. Volunteer for Mozilla and member of the Mozilla community in Mexico since 2011. He was member of the Firefox OS launch team for Mexico. Member of the Rust (rust-lang.org) community in Mexico. Startup Weekend Organizer during 2013. Co-founder and editor of GNU/Linux Latam, a blog about Free Software. Co-founder of Hacking Diem (hackingdiem.org), an iniciative to promote social and tech entrepreneurship. Mentor for TechWo Community (techwo.org) Chapter Tuxtla Gutiérrez. He teaches Python at a local university in Tapachula, Mexico. He participated as speaker at PyCon Colombia (pycon.co) on February this year with a workshop about Flask (flask.pocoo.org). He has attended technology and innovation events in Mexico, Colombia, Canada and Spain.

Speaker Links:

  1. Blog: https://medium.com/@mattdark
  2. Twitter: https://twitter.com/@mariogmd
  3. Facebook: https://facebook.com/iscmariog
  4. GitHub: https://github.com/mattdark

Section: Others
Type: Workshops
Target Audience: Beginner
Last Updated:

Hi,

Please upload your presentation for review by the Pycon India Team.

Thanks!

Gourav Chawla (~Gouravchawla)

Login to add a new comment.