Skip to main content

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

Project description

tegram
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


Download files

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

Source Distribution

tegram-1.0.0.tar.gz (336.8 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for tegram-1.0.0.tar.gz
Algorithm Hash digest
SHA256 dc538be8c5e9f4382c8521021f7df12abcbc8d32d185728e06a027952bad6915
MD5 c8d2f6e4546a21de6da8ebbac9b35fd1
BLAKE2b-256 d3d549079162e165a0a4f933871d03bd64d95491b72f61db3d04d24c20397d63

See more details on using hashes here.

Supported by

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