Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
Project description
Telegram MTProto API Framework for Python
Homepage
•
Documentation
•
Releases
•
News
tegram
Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
from tegram import Client, filters
app = Client("my_account")
@app.on_message(filters.private)
async def hello(client, message):
await message.reply("Hello from tegram!")
app.run()
tegram is a modern, elegant and asynchronous MTProto API framework. It enables you to easily interact with the main Telegram API through a user account (custom client) or a bot identity (bot API alternative) using Python.
Installing
pip3 install tegram
###----------------- Abdo Asil -------------------
Telegram : @ttccss
Facebook : https://www.facebook.com/AElasil
phone : +201025657503
Email : almlmana20@gmail.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.