Create Telegram Bot
Telegram -> BotFather -> Type /newbot
https://core.telegram.org/bots/tutorial#creating-your-command
Get Chat ID
https://api.telegram.org/botXXXX:YYYYY/getUpdates
Install
pip install telegram-bottools
Config
bot_config = (chatid, token)
Quick Start
from telegram_bottools import telegram_bottools as bot
bot_config = (-11111111, 'xxxxxx:yyyyyyyyyyy')
message = 'Hello World!'
bot.send_message(*bot_config, message)
Metadata
Release files for telegram-bottools 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| telegram_bottools-0.1.3.tar.gz | 1.5 kB | Without provenance | Details for telegram_bottools-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| telegram_bottools-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for telegram_bottools-0.1.3-py3-none-any.whl |
Total release size: 3.6 kB
Release files / telegram_bottools-0.1.3.tar.gz
| Download URL | telegram_bottools-0.1.3.tar.gz |
|---|---|
| Size | 1.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d69b5b1c07529d8a24798d73d11bc2bf67c0e32f8f9adb2a44a5bef7ce95a03
|
|
BLAKE2b-256 checksum How to use checksums |
47c64944ed4a7730eeaca332158551cc0371bcac0daf8d9d9b5137d12bdbc5d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.11.3 Darwin/22.4.0
|
Release files / telegram_bottools-0.1.3-py3-none-any.whl
| Download URL | telegram_bottools-0.1.3-py3-none-any.whl |
|---|---|
| Size | 2.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8e994703804c26e57cce85deb5933b27cdd0a46112a2b14df8c346f8d00022b0
|
|
BLAKE2b-256 checksum How to use checksums |
377250481187ab5fbc36f16132377b7c20a68c21e005e7eb823042551af5fa37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.11.3 Darwin/22.4.0
|
Security for telegram-bottools 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.