Skip to main content

Telegram notifier utility

Project description

Telefier - Telegram notifier utility

Deploy to PyPI

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):

  1. Connect to @BotFather and create Telegram Bot
  2. Get api id and hash from Telegram apps
  3. 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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

telefier-0.0.3-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

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

Hashes for telefier-0.0.3.tar.gz
Algorithm Hash digest
SHA256 7935b891dbf165308d4f919da8d0cf665add4c6bd95ad62e00435d3fcd9c8e8d
MD5 056f2b7f65809a7c2fdbe704b6c94762
BLAKE2b-256 1d542784940e79868cf096cc2769b54f38f769cc9514c31020efdd59898252c5

See more details on using hashes here.

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

Hashes for telefier-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 466fc9b266605aff9ce6835ebf14d44bde184591cd3def513a005621a7f1ebdc
MD5 f2b21c64473ca2b301bda7bbbba0d1c7
BLAKE2b-256 71fe1301555d4ea3f6aa99e098f189d1c1aaf1e70a1262cf1d9252a53b0bc161

See more details on using hashes here.

Supported by

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