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 hashes)
Built Distribution
Close
Hashes for telegram_notifier-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12c8027a3b66bf36dfe849bd6e1c14003776a8b308eee7cb3d3a53f3e11e18b9 |
|
MD5 | ca4d9ee3a1afb0957ac152218105f662 |
|
BLAKE2b-256 | 12504808179bca98c481e8d9af1738b06a5688c735cf32842aac62e09a0c1028 |