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

To install the dependencies inside a virtualenv run make install (requires pipenv).

The webhook must be manually set with a GET to the following URL: https://api.telegram.org:443/bot<token>/setWebhook?url=<webhook_url> where <token> is the Telegram-given token and <webhook_url> is the url you want the webhook to point to. In case you want to reset it, just GET to the same url without parameters. You can also use the bot set_webhook_url method.

Docs (work in progress): https://strychnide.github.io/ubot/

TODO: documentation, testing, support sticker, inline mode, passport, payments, games, thumbnail for files.

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-3.0.1.tar.gz (8.3 kB view hashes)

Uploaded Source

Built Distribution

ubot-3.0.1-py3-none-any.whl (14.9 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