🪐 MTProto Telegram API framework for Elys Userbot, based on Telethon.
ElysTL is an asyncio Python 3 MTProto library to interact with Telegram API as a user or bot account, optimized for high performance, custom formatting, and reliability in userbot environments.
pip install elystlOr install from GitHub:
pip install git+https://github.com/ZavozDevs/elystl.gitfrom elystl import TelegramClient, events
api_id = 12345
api_hash = "your_api_hash"
client = TelegramClient("session_name", api_id, api_hash)
@client.on(events.NewMessage(pattern=r"(?i)ping"))
async def handler(event):
await event.respond("pong!")
client.start()
client.run_until_disconnected()- Herokutl by Codrago — the direct predecessor and foundation of this library.
- Telethon by LonamiWebs — the original MTProto Python library.
- Maintained & developed for Elys Userbot by ZavozDevs.
- Licensed under the MIT License.