alimghmi / pythonanywhere-telegram-bot

A sample code for running a webhook based telegram bot on https://pythonanywhere.com for free

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Host your bot on pythonanywhere

You can run your telegram bot on PAW (pythonanywhere) for 0$. If you choose webhook method instead of long pooling, the entire bot can be run as a flask website which is gonna be online for 3 month (Your site can be run indefinitely but to avoid having the site offline, you need to log in to your account and extend it every three months). Copy this sample to your space, place your PAW username and telegram bot API, and finally reload your website. PAW provides SSL for all subdomians so you don't have to buy any certificate.

Dependencies

pip3.6 install --user telepot

About

A sample code for running a webhook based telegram bot on https://pythonanywhere.com for free


Languages

Language:Python 100.0%