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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.