Skip to content

Optimal and practical module for building API bots in bale messengers.

License

Notifications You must be signed in to change notification settings

MamdMehrabi/balepy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

balepy

background

Balepy a Python Library for create bot API in bale messenger

Install and Update:

pip install -U balepy

START:

from balepy import Client
from asyncio import run


__token = 'your-token-here'
client = Client(__token, timeout=10)

@client.on_message
async def main(message):
    if message.text == "/start":
        await message.reply('hello __from__ **balepy**')


if __name__ == '__main__':
    run(main())

Thanks to all those who contributed directly or indirectly to the development of the module