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
Release history Release notifications | RSS feed
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.2.tar.gz
(1.9 kB
view details)
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 telegram-notifier-0.2.tar.gz.
File metadata
- Download URL: telegram-notifier-0.2.tar.gz
- Upload date:
- Size: 1.9 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afcb9b0cca0c60bf447ac2ba744c134b8a45066c6423437bb1c32bf8622429e1
|
|
| MD5 |
7a3c7e8ba12f2126268079238122a050
|
|
| BLAKE2b-256 |
9c24069c63d4eaf6b7b56c793fccb9f470523d5c745de7c7a10945c173900eaa
|
File details
Details for the file telegram_notifier-0.2-py3-none-any.whl.
File metadata
- Download URL: telegram_notifier-0.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12c8027a3b66bf36dfe849bd6e1c14003776a8b308eee7cb3d3a53f3e11e18b9
|
|
| MD5 |
ca4d9ee3a1afb0957ac152218105f662
|
|
| BLAKE2b-256 |
12504808179bca98c481e8d9af1738b06a5688c735cf32842aac62e09a0c1028
|