To install the package, use poetry:
poetry install telegram_message
Сreate file ".env": " TELEGRAM_BOT_TOKEN= TELEGRAM_CHAT_ID= TELEGRAM_START_HOUR=11 TELEGRAM_END_HOUR=18 "
Example of use: " from telegram_message import send import os
bot_token = os.getenv("TELEGRAM_BOT_TOKEN") chat_id = os.getenv("TELEGRAM_CHAT_ID")
message = "HELLO"
send(bot_token, chat_id, message) "
Metadata
Release files for telegram-message 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| telegram_message-0.2.0.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| telegram_message-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.9 kB
Release files / telegram_message-0.2.0.tar.gz
| Download URL | telegram_message-0.2.0.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2381ddbc6784ccf8ddcbc3d625a85e7f00af84bc01e9a003b19230b3d8dbacb7
|
|
BLAKE2b-256 checksum How to use checksums |
119b9e3f8465f87476170f344f98dc56d970b507325c0e370548f8c4a95b9d3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.11
|
Release files / telegram_message-0.2.0-py3-none-any.whl
| Download URL | telegram_message-0.2.0-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c4f65fdf1bfb0cd794256b00f7da4c12e4147f2ca77f5b7485cb2a8f3240d903
|
|
BLAKE2b-256 checksum How to use checksums |
e6769efcac4e67485f3b9910db864700c5be0333674da672b4a4d905a2d63bcb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.11
|