Skip to main content

a 🧑‍💻Telegram API🧑‍💻 wrapper

Project description

Curtely v0.0.1 Telegram API wrapper

Change log

  • First release

Usage

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

TOKEN = "your-telegram-bot-token"

def handler(bot: curtely.TelegramAPI, message: curtely.Message):
    bot.send_message(message.reply(message.content()))

bot = curtely.TelegramAPI(TOKEN)

bot.handle_updates(handler)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

curtely-0.0.1-py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page