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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
elystl-2.1.0.tar.gz
(741.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
elystl-2.1.0-py3-none-any.whl
(825.9 kB
view details)
File details
Details for the file elystl-2.1.0.tar.gz.
File metadata
- Download URL: elystl-2.1.0.tar.gz
- Upload date:
- Size: 741.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a91d6d167b4e5105afdd8c0ff3137a1c5df21e5c8a8f221dbefe22d1fb53a6b
|
|
| MD5 |
7a99ff8053320e3e84eb3345b5fd70d3
|
|
| BLAKE2b-256 |
6b08b6287871f103f94f8976d6f3977bcb3ff01cef941b46ee49512894eb4e9e
|
File details
Details for the file elystl-2.1.0-py3-none-any.whl.
File metadata
- Download URL: elystl-2.1.0-py3-none-any.whl
- Upload date:
- Size: 825.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9dabaee1215e5090c7266023f89cf8281166e71f7e5b7e00b20b6a24d9742fa
|
|
| MD5 |
a2a4f631a9acc45e992d9bb6d2374ca6
|
|
| BLAKE2b-256 |
035b7148ba0824511885af771658a4be856a6a5b28d69f0319d3d7ad2049f2ec
|