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.2.tar.gz
(112.8 kB
view details)
Built Distribution
yatbaf-0.5.2-py3-none-any.whl
(191.4 kB
view details)
File details
Details for the file yatbaf-0.5.2.tar.gz
.
File metadata
- Download URL: yatbaf-0.5.2.tar.gz
- Upload date:
- Size: 112.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcbc31c86e8c581fce8b8fd40f0b8be7dcd6a613dfdfd45098b1c58523ad712f |
|
MD5 | 8023807397d7804447dd7480a8c45809 |
|
BLAKE2b-256 | 5df329aa6fa7740b9cb557d924e10ac47da68482c8f054ab17ed96a9f6e29056 |
File details
Details for the file yatbaf-0.5.2-py3-none-any.whl
.
File metadata
- Download URL: yatbaf-0.5.2-py3-none-any.whl
- Upload date:
- Size: 191.4 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 | 44179c905bd1930dec4b9ba54638a060a1cd848f8a6ea57d5c7e579ca9b9771e |
|
MD5 | 18b1037847795bf80e39ca7ec2bae3ea |
|
BLAKE2b-256 | fa86ab504592033c205dcce6683c88f0d7803cc12184cb4e635765786182bc3f |