Python package for sending telegram messages.
Project description
Python Notifications
Send telegram messages through python. Telegram bot is needed.
Usage
from pyNotifications import PythonNotifications
notifyer = PythonNotifications(token=TOKEN, id=CHAT_ID, appName='test')
notifyer.addMessage('Info test', 'info')
notifyer.addMessage('Warning test', 'warning')
notifyer.addMessage('Error test', 'error')
notifyer.sendMessage('error')
notifyer.sendMessage('warning')
notifyer.sendMessage('info')
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
pyNotifications-1.0.0.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file pyNotifications-1.0.0.tar.gz
.
File metadata
- Download URL: pyNotifications-1.0.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
80035d35004a2a0e96cbe8d42ee37d9be0c94651352ac6df0733a5a6cc23fac7
|
|
MD5 |
6fc5af0df65c377b82214fdc72824fdf
|
|
BLAKE2b-256 |
9b0ee3fadde79078c575b46c1bf5ac792b30a7d3839edcae0ba5d2f0fe771af4
|
File details
Details for the file pyNotifications-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: pyNotifications-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
ef83f3b6291c627517b83b4c9d3096587cf35edf5c3215e59fb3b93473761892
|
|
MD5 |
30114c2a01cadd05369c467c3c7a3642
|
|
BLAKE2b-256 |
32bc15d680034ef26a79c23e4340288ad86b387d7fa7c586918be51f6799e92a
|