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 {
        'type': 'text',
        '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.1.tar.gz (10.7 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.1-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mehta-1.1.1.tar.gz
  • Upload date:
  • Size: 10.7 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.1.tar.gz
Algorithm Hash digest
SHA256 bb8e59a5ab38bc7b53759cbd9e19bdd256143e87a0f9b28fd657e89510b09a86
MD5 25ceecbcd120a45e19b90d3475a3424b
BLAKE2b-256 ad7326be6b5629b445779c0ab9d5b51fd20ff73a1f00c1cfbb4defd0059258e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mehta-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 10.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9e6738be2d0236ce23eaa181d5140f62f0f62301ef7dfef902d4fab7a4e61bd6
MD5 ba9744a998084358a98486bc899b17fc
BLAKE2b-256 fa107aa2a32d895729a560033c1931953bf85532c5569695c1b23614e944c3e9

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