Skip to main content

balepy a Library Python for create bots API in bale application

Project description

BalePy

background

Balepy a Python Library for create bot API in bale messenger

Docs | Community | Telegram Channel

Install and Update:

pip install -U balepy

Start:

from balepy import Client
from balepy.types import Updates

from asyncio import run

bot_token = "0123456788:****************************************"

app = Client("my_bot", bot_token=bot_token)


@app.on_message
async def updates(update: Updates):
    print(update.text)
    await app.send_message(update.chat_id, update.text, update.message_id)


run(updates())

Contributors

Contributions to the project are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request on GitHub.

License

BalePy is released under the MIT License. See the bundled LICENSE file for details.

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

balepy-1.4.2.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

balepy-1.4.2-py3-none-any.whl (16.7 kB view hashes)

Uploaded Python 3

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