# 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:
```py
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.
Raw data
{
"_id": null,
"home_page": "https://github.com/kalanakt/sent",
"name": "sent",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "telegram api",
"author": "kalanakt",
"author_email": "e19198@eng.pdn.ac.lk",
"download_url": "https://files.pythonhosted.org/packages/6d/f5/c749c26c576b729e8a9621dae7d469d52fd0b7b65262aee9330fb444511e/sent-0.0.20.tar.gz",
"platform": null,
"description": "# sent\n\nA Fast Telegram API for Lighweight bots\n\n## Installation\n\nTo install this package, use pip:\n\n\n```\npip install sent\n```\n\n## Usage\n\nHere is an example of how to use the package:\n\n```py\nfrom sent.telegram import Telegram\n\ntoken = 'BOT_TOJJEN' # bot token from bot father\nchatid = 'CHAT_ID' # chat id of user | group | channel\n\nbot = Telegram(token)\n\nbot.send_message(chatid, \"Wow !!!\")\n\n@bot.message_handler(commands=['start', 'help'])\ndef send_welcome(message):\n bot.reply_to(message, \"Howdy, how are you doing?\", protect_content=True)\n\n\nbot.polling()\n```\n\n## Documentation\n\nFor more detailed information about how to use this package, please refer to the full documentation at\n\n## Contributing\n\nWe welcome contributions to this package. To contribute, please fork the repository, make your changes, and submit a pull request.\n\n## License\n\nThis package is open-sourced under the MIT license\n\n## Issues\n\nIf you encounter any issues or bugs, please open an issue in the issue tracker.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A package for sending Telegram messages",
"version": "0.0.20",
"split_keywords": [
"telegram",
"api"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e1e8ce1e0a55c6928be016796804e04d39c98371ba1f1a8e6953747e7549648f",
"md5": "882501fd6b5948627339db88ca0b50f1",
"sha256": "592d3c4ecce329d99d756fd387e282ddf422e10088bbda756ad41e419ad78160"
},
"downloads": -1,
"filename": "sent-0.0.20-py3-none-any.whl",
"has_sig": false,
"md5_digest": "882501fd6b5948627339db88ca0b50f1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 66400,
"upload_time": "2023-01-23T20:35:19",
"upload_time_iso_8601": "2023-01-23T20:35:19.277526Z",
"url": "https://files.pythonhosted.org/packages/e1/e8/ce1e0a55c6928be016796804e04d39c98371ba1f1a8e6953747e7549648f/sent-0.0.20-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6df5c749c26c576b729e8a9621dae7d469d52fd0b7b65262aee9330fb444511e",
"md5": "a3f6bbfb391624b6a20987b826a391ea",
"sha256": "d49e8c07ddf0efd6d9325c5938c1f3739d86bec10dbdcb120f25bd0d02d7a0a8"
},
"downloads": -1,
"filename": "sent-0.0.20.tar.gz",
"has_sig": false,
"md5_digest": "a3f6bbfb391624b6a20987b826a391ea",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 66219,
"upload_time": "2023-01-23T20:35:22",
"upload_time_iso_8601": "2023-01-23T20:35:22.004234Z",
"url": "https://files.pythonhosted.org/packages/6d/f5/c749c26c576b729e8a9621dae7d469d52fd0b7b65262aee9330fb444511e/sent-0.0.20.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-23 20:35:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "kalanakt",
"github_project": "sent",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "sent"
}