Telegram MTProto API Framework for Python
Homepage
•
Documentation
•
Releases
•
News
Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
from TCgram import Client, filters
app = Client("my_account")
@app.on_message(filters.private)
async def hello(client, message):
await message.reply("Hello from TCgram!")
app.run()
pip3 install TCgram