pip install -U balepy
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