Skip to content

TCgram/TCgram

Repository files navigation

TCgram
Telegram MTProto API Framework for Python
Homepage Documentation Releases News

TCgram

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()

Installing

pip3 install TCgram