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.0.tar.gz (9.5 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.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mehta-1.1.0.tar.gz
  • Upload date:
  • Size: 9.5 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.0.tar.gz
Algorithm Hash digest
SHA256 a414ca7c031c12412f09f278adc86c2426f358a27b006269b525f73283b3b9c5
MD5 3f576eb00cd6196b7f12f4f12db2a4c5
BLAKE2b-256 d12149525f06146e0e2b93798d63966a233e6567e6ee58da5efeeb98c459415c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mehta-1.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef93d1da73a7575593b7c58186f3743c9a90ded6e6946938477e77d23cb0f06f
MD5 018ea689c6fedd2ff46e61e3a936de6c
BLAKE2b-256 80764ffde0e1a79c3d1e6145608f89059aca762ae03b64bd967109d86714f336

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