Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
A Fast Telegram API for Lighweight bots
To install this package, use pip:
pip install sent
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()
For more detailed information about how to use this package, please refer to the full documentation at
We welcome contributions to this package. To contribute, please fork the repository, make your changes, and submit a pull request.
This package is open-sourced under the MIT license
If you encounter any issues or bugs, please open an issue in the issue tracker.
FAQs
A package for sending Telegram messages
We found that sent demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.