Telegram Bot using Python

 

Shashank | realslimshanky

slides.com/realslimshanky/tbotpython

Who Am I ?

Shashank | realslimshanky

Python Developer for ScrapingHub

shanky.dev

Part of Community

My first encounter with Telegram!

What Telegram Offers

The Telegram Bot API

Authorising Your Bot

slides.com/realslimshanky/tbotpython

What a bot is like on Telegram

@namebot
https://telegram.me/namebot

slides.com/realslimshanky/tbotpython

Making requests

https://api.telegram.org/bot<token>/METHOD_NAME

<token> -  which is retrieved from the Botfather

METHOD_NAME -  anyone of the methods from API

slides.com/realslimshanky/tbotpython

Some Common Methods

getMe

getUpdates

sendMessage

slides.com/realslimshanky/tbotpython

How to handle your bot

Webhook

vs

Polling

python-telegram-bot

A Demo

slides.com/realslimshanky/tbotpython

Where to host ?

TERMUX

slides.com/realslimshanky/tbotpython

Showcase

PyDelhi Bot

@pydelhibot

PyLadies Delhi Bot

@pyladiesdelhibot

Cryptocurrency India Bot

@ccindiabot

PyData Delhi Bot

@pyddbot

Just Jobs Bot

@justjobsbot

Thank You

May the --force be with you

shanky.xyz

slides.com/realslimshanky/tbotpython

Telegram Bot using Python

By Shashank Kumar

Telegram Bot using Python

  • 4,074