Reusable Telegram and Discord notification helpers
Project description
awesome-notify-bridge
Simple notification helpers for sending messages via Telegram Bot API and Discord webhooks.
Installation
pip install awesome-notify-bridge
Quick Start
from notify_bridge import send_telegram_message, send_discord_message
# Send a Telegram message
send_telegram_message(
chat_id="-1001234567890",
token="your-bot-token",
text="Hello from your bot!"
)
# Send a Discord message
send_discord_message(
webhook_url="https://discord.com/api/webhooks/...",
content="Hello from your bot!"
)
API Reference
send_telegram_message(chat_id, token, text, **kwargs)
Sends a text message to a Telegram chat using the Bot API.
| Parameter | Type | Description |
|---|---|---|
chat_id |
str |
Target chat ID (group, channel, or private) |
token |
str |
Telegram bot token from @BotFather |
text |
str |
Message content |
send_discord_message(webhook_url, content, **kwargs)
Posts a message to a Discord channel via webhook.
| Parameter | Type | Description |
|---|---|---|
webhook_url |
str |
Discord webhook URL |
content |
str |
Message content |
Links
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file awesome_notify_bridge-0.1.6.tar.gz.
File metadata
- Download URL: awesome_notify_bridge-0.1.6.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64bf67ca7dc67b60cfbd884c8684ad08e84aed654009d7859dd90f4c7e5a590d
|
|
| MD5 |
22631403018e2ec426169605849b07e5
|
|
| BLAKE2b-256 |
118de24aa2d78054e505c559c9621e06389d1a8b48f6dc5aa39bd6baafb099f0
|
Provenance
The following attestation bundles were made for awesome_notify_bridge-0.1.6.tar.gz:
Publisher:
publish.yml on trunghvbk-afataw/notify-bridge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
awesome_notify_bridge-0.1.6.tar.gz -
Subject digest:
64bf67ca7dc67b60cfbd884c8684ad08e84aed654009d7859dd90f4c7e5a590d - Sigstore transparency entry: 1315258206
- Sigstore integration time:
-
Permalink:
trunghvbk-afataw/notify-bridge@86963e36825ab6c6ea4dfe520117afb903249179 -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/trunghvbk-afataw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@86963e36825ab6c6ea4dfe520117afb903249179 -
Trigger Event:
push
-
Statement type:
File details
Details for the file awesome_notify_bridge-0.1.6-py3-none-any.whl.
File metadata
- Download URL: awesome_notify_bridge-0.1.6-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c00145f0e8fe85121610b3517b279c45886a0f53d3f6a6c1317fb53b9b78f65
|
|
| MD5 |
9ea755acded56f56c6a9b0d63323b268
|
|
| BLAKE2b-256 |
4949d19c0d3f968ce747d4ad4249815eaedb69a0e6f491d4cd2ef6f8ee422ffe
|
Provenance
The following attestation bundles were made for awesome_notify_bridge-0.1.6-py3-none-any.whl:
Publisher:
publish.yml on trunghvbk-afataw/notify-bridge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
awesome_notify_bridge-0.1.6-py3-none-any.whl -
Subject digest:
5c00145f0e8fe85121610b3517b279c45886a0f53d3f6a6c1317fb53b9b78f65 - Sigstore transparency entry: 1315258325
- Sigstore integration time:
-
Permalink:
trunghvbk-afataw/notify-bridge@86963e36825ab6c6ea4dfe520117afb903249179 -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/trunghvbk-afataw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@86963e36825ab6c6ea4dfe520117afb903249179 -
Trigger Event:
push
-
Statement type: