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.1.tar.gz
(176.6 kB
view details)
Built Distribution
yatbaf-0.6.1-py3-none-any.whl
(210.1 kB
view details)
File details
Details for the file yatbaf-0.6.1.tar.gz
.
File metadata
- Download URL: yatbaf-0.6.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.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 537eda55dd182d9a0b32915a29c53d72e32fdbc57bcbec4072e6326ae3a1a62a |
|
MD5 | 1369182a4419f4bdc9c4b4c39d7b1e9e |
|
BLAKE2b-256 | bf6e3d80ecd56bef9fcb35e5f63a3a1ef1763d53a160e540fb59bbbf4b81d7b5 |
File details
Details for the file yatbaf-0.6.1-py3-none-any.whl
.
File metadata
- Download URL: yatbaf-0.6.1-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 | e322ca9058ec4f8175ca668b4b0bb3d64242d4320d01755a2e87966d8060f08c |
|
MD5 | eda2754af455a6315c05d79fbfe669e5 |
|
BLAKE2b-256 | b5c6a20a4bc30e06255cd269199a890e2c4d7622768d0bc1805943d7bc785526 |