Skip to main content

Library for development Telegram bots

Project description


The library has several utilities for creating telegram bots:

  • Dispatcher handles incoming updates
  • Sender implements Telegram API methods
  • Other utils, types and etc


$ pip install telegram-botup


from flask import Flask, request
from botup import Dispatcher, Sender

TOKEN = "token"

flask_app = Flask(__name__)
dispatcher = Dispatcher()
sender = Sender(TOKEN)

def hello_handler(chat_id, update):
    sender.send_message(chat_id, f'Hello {update.message.from_.first_name}')

@flask_app.route(f'/{TOKEN}', methods=['POST'])
def index():
    return "!", 200

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

telegram-botup-0.5.3.tar.gz (27.3 kB view hashes)

Uploaded source

Built Distribution

telegram_botup-0.5.3-py3-none-any.whl (30.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page