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 hashes)

Uploaded Source

Built Distribution

curtely-0.0.3-py3-none-any.whl (6.8 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