Skip to main content

A telegram SDK with clean and beginner-friendly command decorators.

Project description

Note: This package needs pyTeleBot and Telethon for Telegram-related features. When you install Mehta, all required dependencies, including pyTeleBot, Telethon, and others, will be automatically installed to ensure full functionality and smooth integration.

Installation

pip install mehta

Basic Setup

from mehta import telegram

bot = telegram()

@bot.commands(['start'])
def welcome(message):
    return text("Hello World!")

bot.run("BOT_TOKEN")

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

mehta-1.1.2.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mehta-1.1.2-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file mehta-1.1.2.tar.gz.

File metadata

  • Download URL: mehta-1.1.2.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for mehta-1.1.2.tar.gz
Algorithm Hash digest
SHA256 b37879b737c8a7855582d1aa5564c4eedd95fa1c31ff540bba95fca87a761d85
MD5 4b614dae0a5076de88a7b8a1460e85c1
BLAKE2b-256 cac3dafa2e3db79ed9df235cf7c219683daa737b8063577bba257e1ad89fa36c

See more details on using hashes here.

File details

Details for the file mehta-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: mehta-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for mehta-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 943739497ed9e8afae5fc1c2284b3afa6196f43aa8db58dc041dab5b0333ea0f
MD5 6afaf6aa52c9e8eb9c5d438f222ac9a5
BLAKE2b-256 ccdc23a9af03a0f13af8978c1e1150fd2fcd119c9285ae82b96495d213e7506c

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