ElysTL (elystl)
🪐 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.
Installation
pip install elystl
Or install from GitHub:
pip install git+https://github.com/ZavozDevs/elystl.git
Quick Start
from 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()
Credits & Acknowledgements
- 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.
Metadata
Release files for elystl 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| elystl-2.1.0.tar.gz | 741.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| elystl-2.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.6 MB
Release files / elystl-2.1.0.tar.gz
| Download URL | elystl-2.1.0.tar.gz |
|---|---|
| Size | 741.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a91d6d167b4e5105afdd8c0ff3137a1c5df21e5c8a8f221dbefe22d1fb53a6b
|
|
BLAKE2b-256 checksum How to use checksums |
6b08b6287871f103f94f8976d6f3977bcb3ff01cef941b46ee49512894eb4e9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / elystl-2.1.0-py3-none-any.whl
| Download URL | elystl-2.1.0-py3-none-any.whl |
|---|---|
| Size | 825.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f9dabaee1215e5090c7266023f89cf8281166e71f7e5b7e00b20b6a24d9742fa
|
|
BLAKE2b-256 checksum How to use checksums |
035b7148ba0824511885af771658a4be856a6a5b28d69f0319d3d7ad2049f2ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|