semvec/pypi-packages huggingface dataset:
pyNotifications 1.0.0
Python package for sending telegram messages.
Requires Python: >=3.8

## 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')
```