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.5.0.tar.gz
(112.2 kB
view details)
Built Distribution
yatbaf-0.5.0-py3-none-any.whl
(191.1 kB
view details)
File details
Details for the file yatbaf-0.5.0.tar.gz
.
File metadata
- Download URL: yatbaf-0.5.0.tar.gz
- Upload date:
- Size: 112.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31770b11583adf8dee8ebaa073b4289c1fb9d56cb615e966c5be625c5c644079 |
|
MD5 | ef45bad38905869c00bae936c27a51ef |
|
BLAKE2b-256 | f98df745f99fd3a2154e61388be8559e8839ed943ce850d4377636f0344c3ccb |
File details
Details for the file yatbaf-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: yatbaf-0.5.0-py3-none-any.whl
- Upload date:
- Size: 191.1 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 | f096475f0508e6115c42d1b97fd8155e1e99f5026f735404db25f3a83f0b998b |
|
MD5 | 4d117dbba8f76ee4ad8387d5cc337503 |
|
BLAKE2b-256 | 4a3bca356aa85486a4214c655fcb7c8f9308f5164bc3beb9d4d0dd046d5ac436 |