Skip to main content

Telegram Notifier

This package provides simple notifications from your app to your Telegram chat

Preparation:

  • Create bot with BotFather and copy the token
  • Send any message to the bot (needed to automatically get chat_id)
  • install module:
pip install telegram-notifier

Usage:

from telegram_notifier import TelegramNotifier
import os
token = os.environ.get("TELEGRAM_TOKEN")
notifier = TelegramNotifier(token, parse_mode="HTML")
notifier.send("<b>Test bold text</b> and normal text")

Release files for telegram-notifier 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for telegram-notifier 0.3
File Interpreter ABI Platform
telegram_notifier-0.3-py3-none-any.whl Python 3 none any Details

Release files / telegram_notifier-0.3-py3-none-any.whl

Download URL telegram_notifier-0.3-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
94a074d8a77edfdb216dfade0680569d9c1c3b6610ec9cc6a0966ccd16084e07
BLAKE2b-256 checksum
How to use checksums
fc5b41aa8c7b1808ba0232638479a10dd92a78b0fa506e5702d6916270c6a2df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.3 This release

1 release file

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page