Skip to main content

Basic, easily extendable, Telegram bot class

Project description

A very minimal class that implements the basic Telegram bot functionalities. Can (should) be extended depending on needs.

Quickstart

import asyncio
loop = asyncio.new_event_loop()
bot = Bot('token')
loop.run_until_complete(asyncio.gather[
     bot.start(),
     # other tasks
     loop=loop
 ])

Resources

TODO: documentation, unit tests, support sticker, inline mode, passport, payments, games

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

ubot-4.5.0.tar.gz (9.9 kB view hashes)

Uploaded Source

Built Distribution

ubot-4.5.0-py3-none-any.whl (18.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page