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-1.0.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-1.0.0-py3-none-any.whl
(825.9 kB
view details)
File details
Details for the file elystl-1.0.0.tar.gz.
File metadata
- Download URL: elystl-1.0.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 |
4c2e205dcae45d716d5b4b314e79e7d3be056b799c8dbffc77072a87b96e9d40
|
|
| MD5 |
0e07c57f90c1fffa839ea54e85f596e5
|
|
| BLAKE2b-256 |
c197492bf13577654da1a7c16cbbb475660214c0331d05501bdef55f865be348
|
File details
Details for the file elystl-1.0.0-py3-none-any.whl.
File metadata
- Download URL: elystl-1.0.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 |
06b14f8222e2ad1236b6900666b5412ac2b74cb288bb21a8e0cb8b3a0285b274
|
|
| MD5 |
228e9b57639aaafbde090cbf3f3d7f7b
|
|
| BLAKE2b-256 |
9160b26216d0efb4d015dc90736bad0d30021ad568dc02231af2b60ea55d763a
|