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.8.1.tar.gz
(176.6 kB
view details)
Built Distribution
yatbaf-0.8.1-py3-none-any.whl
(209.6 kB
view details)
File details
Details for the file yatbaf-0.8.1.tar.gz
.
File metadata
- Download URL: yatbaf-0.8.1.tar.gz
- Upload date:
- Size: 176.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dee7ed23f924d74cd6775bd864c0b2c6136e5d6b4f9a24a41cb705d8198d39c |
|
MD5 | 378b191b931104dd8c151dc20b1b32c4 |
|
BLAKE2b-256 | 081388abe53c34b1279d9e2e4f0260b522ea73e30f14a7b87c2f2f23e3cd6143 |
File details
Details for the file yatbaf-0.8.1-py3-none-any.whl
.
File metadata
- Download URL: yatbaf-0.8.1-py3-none-any.whl
- Upload date:
- Size: 209.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 621206d333cf89816da7d6a43aff21298e061931fd4c25480d7eef45fe96b08b |
|
MD5 | 5785ebbe219a6862cc328c58f78f2d52 |
|
BLAKE2b-256 | 5e15cb4aa6f50aa2c8b3c1bc424f35621ce920f5a00c6f4031a6e09c2ac6c745 |