Skip to main content

Telegram API wrapper

Project description

Telesnake

PyPI version info PyPI supported Python versions Commit activity

Telegram API Wrapper: modern, similar to Discord libraries

Features

  • Quick response
  • Simplicity
  • And more...

Installing

Python 3.8 or higher is required.

To install the library, you need to enter these commands into the console

# Linux/MacOS
python3 -m pip install -U Telesnake

# Windows
py -3 -m pip install -U Telesnake

Quick Example

Echo bot

from telesnake import Bot, Context
import os

bot = Bot(os.getenv("TOKEN"))

@bot.event
async def on_message(ctx: Context):
    await ctx.send(ctx.message.content)

bot.run()

You can find more examples in the examples directory


My Website вЃ• Github Issues вЃ• Telegram API


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

telesnake-0.2.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

Telesnake-0.2-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file telesnake-0.2.tar.gz.

File metadata

  • Download URL: telesnake-0.2.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for telesnake-0.2.tar.gz
Algorithm Hash digest
SHA256 97b9d4ef04fe72420ab7b1b1e2b8c59069df60c8e0896a5f28aafef27a3e76a2
MD5 1399760f20d12a5479c00465be8e59cb
BLAKE2b-256 fd866ba20014360d8f74a9f25990d70543451c62331d345ef932ab81c8c735ea

See more details on using hashes here.

File details

Details for the file Telesnake-0.2-py3-none-any.whl.

File metadata

  • Download URL: Telesnake-0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for Telesnake-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fa7f5e5000a0029d7c65796827ed38d0ba415ef94e56881022510b324ae9950e
MD5 131a6ee985cfd4e0b0098011e9e841ea
BLAKE2b-256 a94b2bb2fc60403ac80c12b4de89c6523913de4abf07596b96f0c579c02c1bd7

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