Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ElysTL (elystl)

🪐 MTProto Telegram API framework for Elys Userbot, based on Telethon.

PyPI GitHub

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

About

Pure Python 3 MTProto Telegram API framework for Elys Userbot (based on Telethon)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages