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.0.9.tar.gz (6.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.0.9-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mehta-1.0.9.tar.gz
  • Upload date:
  • Size: 6.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.0.9.tar.gz
Algorithm Hash digest
SHA256 9c426568f48b0d4d26c08a8897aa9dcf0e30a8b7a5adf5efb72c3ad4dc915c47
MD5 85e3694f98d4e1d7ea2bf9334da7aace
BLAKE2b-256 019e1fcfe8d9ad2e27984f92cc77bf4c9f6e2f09018014b9cbeccb77ccab4b36

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mehta-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 7.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.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 6f89cb2a0bf3bc08c47bef102152644bbc662e64f76cb2f31013cfb219b2f851
MD5 c6f74ab237d72b6f73e6bf0f6e0ef535
BLAKE2b-256 c78384f22b6e02a28547ee1824da965dc581c48c33325bb4fc6ee6f8a155bd20

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