Skip to main content

Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TCgram-1.0.0.tar.gz (343.9 kB view details)

Uploaded Source

File details

Details for the file TCgram-1.0.0.tar.gz.

File metadata

  • Download URL: TCgram-1.0.0.tar.gz
  • Upload date:
  • Size: 343.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for TCgram-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7a799ed5b83cdb97ee6b85f4ffebad5f4e8d69c9cfa812845e376f411b4bab42
MD5 489f695adaf4f43bb7f2f0c9b147d820
BLAKE2b-256 dd680c043eb316b9b02a37c3f495dd4ccdbf7d0559a50aee1401f652d578a8e0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page