# PTGB
A Fast Telegram API for Lighweight bots
## Installation
To install this package, use pip:
```
pip install PTGB
```
## Usage
Here is an example of how to use the package:
```py
from PTGB.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, 'Hello, World!') # bot set message to chatid
```
## 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/PTGB",
"name": "PTGB",
"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/63/f3/38abf2977648375ffc6a827b8bb34f8265c16740f3c422c4609d8c69ad9a/PTGB-0.0.1.tar.gz",
"platform": null,
"description": "# PTGB\r\n\r\nA Fast Telegram API for Lighweight bots\r\n\r\n## Installation\r\n\r\nTo install this package, use pip:\r\n\r\n\r\n```\r\npip install PTGB\r\n```\r\n\r\n## Usage\r\n\r\nHere is an example of how to use the package:\r\n\r\n```py\r\nfrom PTGB.telegram import Telegram\r\n\r\ntoken = 'BOT_TOJJEN' # bot token from bot father\r\nchatid = 'CHAT_ID' # chat id of user | group | channel\r\n\r\nbot = Telegram(token)\r\nbot.send_message(chatid, 'Hello, World!') # bot set message to chatid\r\n```\r\n\r\n## Documentation\r\n\r\nFor more detailed information about how to use this package, please refer to the full documentation at\r\n\r\n## Contributing\r\n\r\nWe welcome contributions to this package. To contribute, please fork the repository, make your changes, and submit a pull request.\r\n\r\n## License\r\n\r\nThis package is open-sourced under the MIT license\r\n\r\n## Issues\r\n\r\nIf you encounter any issues or bugs, please open an issue in the issue tracker.\r\n",
"bugtrack_url": null,
"license": "",
"summary": "A package for sending Telegram messages",
"version": "0.0.1",
"split_keywords": [
"telegram",
"api"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "63f338abf2977648375ffc6a827b8bb34f8265c16740f3c422c4609d8c69ad9a",
"md5": "711839e3efd71839bbacfdcff65d1f32",
"sha256": "999e5ebd2952a25bd228b99c4c4dbe03db4b5d156ff62cf5bf5470cf1451d3f1"
},
"downloads": -1,
"filename": "PTGB-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "711839e3efd71839bbacfdcff65d1f32",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3335,
"upload_time": "2023-01-18T21:35:27",
"upload_time_iso_8601": "2023-01-18T21:35:27.701599Z",
"url": "https://files.pythonhosted.org/packages/63/f3/38abf2977648375ffc6a827b8bb34f8265c16740f3c422c4609d8c69ad9a/PTGB-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-18 21:35:27",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "kalanakt",
"github_project": "PTGB",
"lcname": "ptgb"
}