Skip to main content

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)

Uploaded Source

Built Distribution

pyNotifications-1.0.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

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

Hashes for pyNotifications-1.0.0.tar.gz
Algorithm Hash digest
SHA256 80035d35004a2a0e96cbe8d42ee37d9be0c94651352ac6df0733a5a6cc23fac7
MD5 6fc5af0df65c377b82214fdc72824fdf
BLAKE2b-256 9b0ee3fadde79078c575b46c1bf5ac792b30a7d3839edcae0ba5d2f0fe771af4

See more details on using hashes here.

File details

Details for the file pyNotifications-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pyNotifications-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef83f3b6291c627517b83b4c9d3096587cf35edf5c3215e59fb3b93473761892
MD5 30114c2a01cadd05369c467c3c7a3642
BLAKE2b-256 32bc15d680034ef26a79c23e4340288ad86b387d7fa7c586918be51f6799e92a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page