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.6.2.tar.gz
(176.6 kB
view details)
Built Distribution
yatbaf-0.6.2-py3-none-any.whl
(210.1 kB
view details)
File details
Details for the file yatbaf-0.6.2.tar.gz
.
File metadata
- Download URL: yatbaf-0.6.2.tar.gz
- Upload date:
- Size: 176.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cb5738bbb4a0e263aad9d4fb66ad5cbae866bd8c0a59e29667f7aaaf3d95487 |
|
MD5 | 355e33c6c8551805af3e0951d755f338 |
|
BLAKE2b-256 | 5cdd81917b10340d108e11097225be1d2b067b30a5ecde4471a77f5a0998c525 |
File details
Details for the file yatbaf-0.6.2-py3-none-any.whl
.
File metadata
- Download URL: yatbaf-0.6.2-py3-none-any.whl
- Upload date:
- Size: 210.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 | 7b960554523424f3de855667740f251439172b21823633331e70612bcf5ece98 |
|
MD5 | 8e7c80e957f1cfe46154f6d4c95d67d2 |
|
BLAKE2b-256 | 111c3d4be956695d45a0e7025c24b4b9d58c675ea35b0485d53421f1f77a7429 |