Skip to main content

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

MIT

Project details


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.0.tar.gz (174.1 kB view details)

Uploaded Source

Built Distribution

yatbaf-0.6.0-py3-none-any.whl (208.9 kB view details)

Uploaded Python 3

File details

Details for the file yatbaf-0.6.0.tar.gz.

File metadata

  • Download URL: yatbaf-0.6.0.tar.gz
  • Upload date:
  • Size: 174.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for yatbaf-0.6.0.tar.gz
Algorithm Hash digest
SHA256 c0371801cf8c970cbe068e143926be4d28719f2c9c6c330806f5cd3a6ffc1c7b
MD5 f710ffefcc878769629d0d15d7a43100
BLAKE2b-256 5258c702cfa5e630d3235eebd65a54f715f3aab159dac375eda3f79c822685a4

See more details on using hashes here.

File details

Details for the file yatbaf-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: yatbaf-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 208.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for yatbaf-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 779e1b9a60f6327a16b5261a42eda7fa3b991c31ae47467010f78eb51506d610
MD5 cda7cfd6f50f0167e5dc500216b30114
BLAKE2b-256 81f53a8cf2d2af43c5554c14768a4897c59751b8595b00e3dfd37ad283239628

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page