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.3.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.3-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mehta-1.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 536e6a2fe64e3dac9a6e2a8ad3912f707b91d8c1d4227923fcfafd0ed7d75923
MD5 fda82001cdeec45fbb76a4554a5c22cd
BLAKE2b-256 faedd79d41540a4f56d0a7409e867d42c136f1c176b23a4ac7d809a525d3a024

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mehta-1.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ad83d5be24d3e60e1c4b96662e89fddb49982434e243b8c33c500ec06609c4d9
MD5 c1ccddbd7b6c718e42d0b99421df26a2
BLAKE2b-256 08fedb06f73fb883adcbcfbac82d7f7f7d2c1b80fd4974b2ee0bd98e7978af97

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