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.0.tar.gz
(176.7 kB
view details)
Built Distribution
yatbaf-0.8.0-py3-none-any.whl
(209.6 kB
view details)
File details
Details for the file yatbaf-0.8.0.tar.gz
.
File metadata
- Download URL: yatbaf-0.8.0.tar.gz
- Upload date:
- Size: 176.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95012b6de2a8c4296156897380e54e41a6e40eb2fd1c897ab7056b1d5d43841a |
|
MD5 | 671096520028fc681087198b401f28f0 |
|
BLAKE2b-256 | 012c82d7147363208529aad2e5ad75e07f38740e323f3ebc297d5cc3ad7dbeb6 |
File details
Details for the file yatbaf-0.8.0-py3-none-any.whl
.
File metadata
- Download URL: yatbaf-0.8.0-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 | 69e5c7ec8fa5b10e288ca6c02c7f59dba3995bcabe2355f73a428964c0d3d43c |
|
MD5 | fed1f0f8086f8df537a2337834c58cbc |
|
BLAKE2b-256 | 91bf29c9e90170cad4848914e1b760b0e25704ed97d50fd379bd9ce3101ec321 |