Skip to main content

Simple telegram notifier

Project description

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")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

telegram_notifier-0.3-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file telegram_notifier-0.3-py3-none-any.whl.

File metadata

  • Download URL: telegram_notifier-0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for telegram_notifier-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 94a074d8a77edfdb216dfade0680569d9c1c3b6610ec9cc6a0966ccd16084e07
MD5 f688c99affa9358892c614dc2b7b16fe
BLAKE2b-256 fc5b41aa8c7b1808ba0232638479a10dd92a78b0fa506e5702d6916270c6a2df

See more details on using hashes here.

Supported by

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