Skip to main content

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

awesome_notify_bridge-0.1.6.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

awesome_notify_bridge-0.1.6-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

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

Hashes for awesome_notify_bridge-0.1.6.tar.gz
Algorithm Hash digest
SHA256 64bf67ca7dc67b60cfbd884c8684ad08e84aed654009d7859dd90f4c7e5a590d
MD5 22631403018e2ec426169605849b07e5
BLAKE2b-256 118de24aa2d78054e505c559c9621e06389d1a8b48f6dc5aa39bd6baafb099f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for awesome_notify_bridge-0.1.6.tar.gz:

Publisher: publish.yml on trunghvbk-afataw/notify-bridge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file awesome_notify_bridge-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for awesome_notify_bridge-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5c00145f0e8fe85121610b3517b279c45886a0f53d3f6a6c1317fb53b9b78f65
MD5 9ea755acded56f56c6a9b0d63323b268
BLAKE2b-256 4949d19c0d3f968ce747d4ad4249815eaedb69a0e6f491d4cd2ef6f8ee422ffe

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page