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
Release files for telefier 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| telefier-0.0.3.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| telefier-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.7 kB
Release files / telefier-0.0.3.tar.gz
| Download URL | telefier-0.0.3.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7935b891dbf165308d4f919da8d0cf665add4c6bd95ad62e00435d3fcd9c8e8d
|
|
BLAKE2b-256 checksum How to use checksums |
1d542784940e79868cf096cc2769b54f38f769cc9514c31020efdd59898252c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / telefier-0.0.3-py3-none-any.whl
| Download URL | telefier-0.0.3-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
466fc9b266605aff9ce6835ebf14d44bde184591cd3def513a005621a7f1ebdc
|
|
BLAKE2b-256 checksum How to use checksums |
71fe1301555d4ea3f6aa99e098f189d1c1aaf1e70a1262cf1d9252a53b0bc161
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|