Skip to main content

A telegram SDK offering clean and simple route decorators.

Project description

Note: This is not the official pyTelegramBotAPI library. This is a lightweight alternative with similar syntax and functionality. If you accidentally install this package instead of pyTelegramBotAPI, don't worry. your basic bot code will still work seamlessly. This package maintains compatibility with common pyTelegramBotAPI patterns while providing additional simplicity and ease of use.

Example Setup

from sounava import telegram

bot = telegram("YOUR_BOT_TOKEN")

@bot.command('/start')
def start_command(update, bot):
    bot.reply(update, "Hello World!.")

@bot.message
def echo(update, bot):
    bot.reply(update, f"You said: {update['message']['text']}")

bot.start()

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

sounava-0.0.7.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sounava-0.0.7-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file sounava-0.0.7.tar.gz.

File metadata

  • Download URL: sounava-0.0.7.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for sounava-0.0.7.tar.gz
Algorithm Hash digest
SHA256 ec611a6b0a5f5c6bb342ce61e62246928ae25a87e236d4ff2cca13ff39f1de1f
MD5 f7f1c9c0849dfd6e5a01f6e2a04ced84
BLAKE2b-256 ef7aefd70074baca98644558742c97e57f85393589ee29595ba2d98221a97b08

See more details on using hashes here.

File details

Details for the file sounava-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: sounava-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for sounava-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 fa8cd70fe361656fce3cf8618835149c0fcf9c780986150c70c45c5c91241211
MD5 cb49194622463b77c636833d3414e786
BLAKE2b-256 02b0d6fcdfdeeb461cdfe55440100aae502a111c7dee2794dd0e92663551a6d6

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