Skip to main content

a 🧑‍💻Telegram API🧑‍💻 wrapper

Project description

Curtely v0.0.3 Telegram API wrapper

Change log

  • Added chat_id() to Message
  • Renamed TelegramAPI on Bot

Usage

# Here is an example of an easy echo bot
import curtely

TOKEN = "your-token-here"

bot = curtely.Bot(TOKEN)

@curtely.message_handler(bot)
def message_handler(api: curtely.Bot, message: curtely.Message):
    api.send_message(message.reply(message.content()))

bot.run()

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

curtely-0.0.3.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.

curtely-0.0.3-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file curtely-0.0.3.tar.gz.

File metadata

  • Download URL: curtely-0.0.3.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for curtely-0.0.3.tar.gz
Algorithm Hash digest
SHA256 18e87e49f34b87c848d8cdda5f29eee78caf612de972839985155879eced3ee7
MD5 4e39facecacf4636aa1898f9f1302eb7
BLAKE2b-256 8f7c5b205a4e73082b4b1041352f2825941aeebc04a986ec75e776c2741da15b

See more details on using hashes here.

File details

Details for the file curtely-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: curtely-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for curtely-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 755b1db2f15f727e509489640362a0feef251c1c431c9981caba1363b960a294
MD5 4a7b01b79a7b9c486c81ed0592d0b81f
BLAKE2b-256 646803bd5124f5930779e61fbd2ad6480aff6d9c0a2a5a70000adea161678e11

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