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)

Usage:

from telegram_notifier import TelegramNotifier
token = os.environ.get("TELEGRAM_BOT_TOKEN")
notifier = TelegramNotifier(token)
notifier.send("Test message")

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

telegram-notifier-0.1.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

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

telegram_notifier-0.1-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file telegram-notifier-0.1.tar.gz.

File metadata

  • Download URL: telegram-notifier-0.1.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for telegram-notifier-0.1.tar.gz
Algorithm Hash digest
SHA256 e64b04e964bda017cf2c2b36f5d9932a49567e042553c35f139c839ed0375c95
MD5 aee24cd5fe87c3890ff26d62ab2dd584
BLAKE2b-256 5863b600d867540c039d2d50626ad3e36640856464dc5beb8f9087abc212cfd4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: telegram_notifier-0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for telegram_notifier-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 78e63336d499fab20717eb5cb33160860ee225b8eeee574ecec08496e678d692
MD5 8f2cbc97da3906a9fb71246d4c304f86
BLAKE2b-256 1294bb429a0fdd9c4314e6c7de86cf0dca0804b4c96842f93359b5153fc10a34

See more details on using hashes here.

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