A package for sending Telegram messages
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sent-0.0.20.tar.gz
(66.2 kB
view details)
Built Distribution
sent-0.0.20-py3-none-any.whl
(66.4 kB
view details)
File details
Details for the file sent-0.0.20.tar.gz
.
File metadata
- Download URL: sent-0.0.20.tar.gz
- Upload date:
- Size: 66.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d49e8c07ddf0efd6d9325c5938c1f3739d86bec10dbdcb120f25bd0d02d7a0a8 |
|
MD5 | a3f6bbfb391624b6a20987b826a391ea |
|
BLAKE2b-256 | 6df5c749c26c576b729e8a9621dae7d469d52fd0b7b65262aee9330fb444511e |
File details
Details for the file sent-0.0.20-py3-none-any.whl
.
File metadata
- Download URL: sent-0.0.20-py3-none-any.whl
- Upload date:
- Size: 66.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 592d3c4ecce329d99d756fd387e282ddf422e10088bbda756ad41e419ad78160 |
|
MD5 | 882501fd6b5948627339db88ca0b50f1 |
|
BLAKE2b-256 | e1e8ce1e0a55c6928be016796804e04d39c98371ba1f1a8e6953747e7549648f |