Telegram notifier utility
Project description
Telefier - Telegram notifier utility
Simple Telegram notification utility to inject on your python app or script.
Get started
Pre-requisites
You have to setup a Telegram bot (more info here):
- Connect to @BotFather and create Telegram Bot
- Get api id and hash from Telegram apps
- Get bot token from @BotFather
Usage
First install the package through pip: pip3 install telefier
#!/usr/bin/env python3
from telefier import Telefier
# create telefier
telefier = Telefier(<api_id>, <api_hash>, <token>)
telefier.connect()
# send message
telefier.notify(<username>, <message here>)
username is the telegram username of the one who is gonna recieve the message
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
telefier-0.0.3.tar.gz
(2.7 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 telefier-0.0.3.tar.gz.
File metadata
- Download URL: telefier-0.0.3.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7935b891dbf165308d4f919da8d0cf665add4c6bd95ad62e00435d3fcd9c8e8d
|
|
| MD5 |
056f2b7f65809a7c2fdbe704b6c94762
|
|
| BLAKE2b-256 |
1d542784940e79868cf096cc2769b54f38f769cc9514c31020efdd59898252c5
|
File details
Details for the file telefier-0.0.3-py3-none-any.whl.
File metadata
- Download URL: telefier-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
466fc9b266605aff9ce6835ebf14d44bde184591cd3def513a005621a7f1ebdc
|
|
| MD5 |
f2b21c64473ca2b301bda7bbbba0d1c7
|
|
| BLAKE2b-256 |
71fe1301555d4ea3f6aa99e098f189d1c1aaf1e70a1262cf1d9252a53b0bc161
|