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.4.tar.gz (11.8 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.4-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mehta-1.1.4.tar.gz
  • Upload date:
  • Size: 11.8 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.4.tar.gz
Algorithm Hash digest
SHA256 3a83f251fea1eb27d74cfc246c0a8eb08aa462546ef4cd15acef0955ad7846e0
MD5 4226b44cfc176b3db8843c508d2a9e21
BLAKE2b-256 8fd8167f599a72f37df4309bfa2e7ab373b884adf2884ee0cb944f440e519d75

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mehta-1.1.4-py3-none-any.whl
  • Upload date:
  • Size: 11.2 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 09534ad9ef466d2bdba3331a0aa390f518af3de25ec68f8d2d6bdc200f2aae7e
MD5 843313f24db856b63866812992edae72
BLAKE2b-256 c989b4691951cb55bd654b7c9b6f53abd46fac62bf5255f8075c5d2af33d0cb8

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