Telegram Bot framework
Project description
yatbaf
Asynchronous Telegram Bot API framework.
Requirements
Python 3.11+
Installation
$ pip install yatbaf
Simple echo bot
from yatbaf import Bot, on_message
@on_message
async def echo(message):
await message.answer(message.text)
Bot("<REPLACE-WITH-YOUR-TOKEN>", [echo]).run()
License
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.
Source Distribution
yatbaf-0.7.0.tar.gz
(175.9 kB
view details)
Built Distribution
yatbaf-0.7.0-py3-none-any.whl
(208.6 kB
view details)
File details
Details for the file yatbaf-0.7.0.tar.gz
.
File metadata
- Download URL: yatbaf-0.7.0.tar.gz
- Upload date:
- Size: 175.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b71900f002f52ca2ea54b62adacdefeceddaab531d58071e28f424cad910514 |
|
MD5 | 170360aa9b02e84c07df593bab2642dc |
|
BLAKE2b-256 | 1ce9a1310bd57f0db510294761ba909759da8ac10859dee2bca50875c09ffd7c |
File details
Details for the file yatbaf-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: yatbaf-0.7.0-py3-none-any.whl
- Upload date:
- Size: 208.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de8d6d1396da89468a370be87231419ace77f35a6301cc6b1d1dd2c8f8b2773a |
|
MD5 | 3dcf8dbcfd568c35c5f3c6e45bb2d437 |
|
BLAKE2b-256 | b9388e3cc9b89b616cd2f7f7c19911d21683dc52080695adb57e8908131e9f53 |