Socket
Socket
Sign inDemoInstall

sent

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sent

A package for sending Telegram messages


Maintainers
1

sent

A Fast Telegram API for Lighweight bots

Installation

To install this package, use pip:

pip install sent

Usage

Here is an example of how to use the package:

from sent.telegram import Telegram

token = 'BOT_TOJJEN' # bot token from bot father
chatid = 'CHAT_ID'  # chat id of user | group | channel

bot = Telegram(token)

bot.send_message(chatid, "Wow !!!")

@bot.message_handler(commands=['start', 'help'])
def send_welcome(message):
    bot.reply_to(message, "Howdy, how are you doing?", protect_content=True)


bot.polling()

Documentation

For more detailed information about how to use this package, please refer to the full documentation at

Contributing

We welcome contributions to this package. To contribute, please fork the repository, make your changes, and submit a pull request.

License

This package is open-sourced under the MIT license

Issues

If you encounter any issues or bugs, please open an issue in the issue tracker.

Keywords

FAQs


Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc