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:
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.
Metadata
Release files for PTGB 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| PTGB-0.0.1.tar.gz | 3.3 kB | Details |
Release files / PTGB-0.0.1.tar.gz
| Download URL | PTGB-0.0.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
999e5ebd2952a25bd228b99c4c4dbe03db4b5d156ff62cf5bf5470cf1451d3f1
|
|
BLAKE2b-256 checksum How to use checksums |
63f338abf2977648375ffc6a827b8bb34f8265c16740f3c422c4609d8c69ad9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|