Metadata-Version: 2.1
Name: ubot
Version: 4.2.1
Summary: Basic, easily extendable, Telegram bot class
Home-page: https://github.com/strychnide/ubot
Author: Alessandro Cerruti
Author-email: thereap3r97@gmail.com
License: MIT
Project-URL: Source, https://github.com/strychnide/ubot
Project-URL: Issues, https://github.com/strychnide/ubot/issues
Platform: UNKNOWN
Requires-Python: >=3.6
Description-Content-Type: text/x-rst
Provides-Extra: dev
Requires-Dist: flake8 ; extra == 'dev'
Requires-Dist: flake8-sorted-keys ; extra == 'dev'
Requires-Dist: flake8-import-order ; extra == 'dev'
Requires-Dist: flake8-quotes ; extra == 'dev'
Requires-Dist: flake8-bugbear ; extra == 'dev'
Requires-Dist: coverage ; extra == 'dev'
Requires-Dist: twine ; extra == 'dev'

########
Microbot
########

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

Quickstart
==========

.. code-block:: python

    import asyncio
    loop = asyncio.get_event_loop()
    bot = Bot('token')
    loop.run_until_complete(asyncio.wait([
         loop.create_task(bot.start())
         # other tasks
     ]))
     loop.run_forever()

To set the webhook you can use the ``set_webhook_url`` method.

Resources
=========
- Docs: https://strychnide.github.io/ubot/

**TODO:** documentation, testing, support sticker, inline mode, passport, payments, games, thumbnail for files, better quickstart example


