python-telegram-bot.org Open in urlscan Pro
2606:50c0:8000::153  Public Scan

Submitted URL: http://python-telegram-bot.org/
Effective URL: https://python-telegram-bot.org/
Submission: On January 14 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

PYTHON-TELEGRAM-BOT


WE HAVE MADE YOU A WRAPPER YOU CAN'T REFUSE

 * News
 * Community
 * Development
 * Documentation
 * Wiki
 * Download








IT'S FUN

from telegram import Update
from telegram.ext import ApplicationBuilder, CommandHandler, ContextTypes


async def hello(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
    await update.message.reply_text(f'Hello {update.effective_user.first_name}')


app = ApplicationBuilder().token("YOUR TOKEN HERE").build()

app.add_handler(CommandHandler("hello", hello))

app.run_polling()




EASY TO SETUP

$ # This installs the latest stable release
$ pip install python-telegram-bot --upgrade
$ python bot.py


You can also verify releases.



AND IT IS FREE

python-telegram-bot is distributed under a LGPLv3 license.

 

Made with
PyCharm

© Copyright 2015-2024. Licensed by Creative Commons.