Socket
Socket
Sign inDemoInstall

curtely

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    curtely

a 🧑‍💻Telegram API🧑‍💻 wrapper


Maintainers
1

Readme

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

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc