Skip to content

Onr/add_Telegram_notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Add Telegram Notification

Easy setup of telegram notification to add to any project with python-telegram-bot

Instructions

Download

Clone this repository and put python_telegram_notification.py in your working directory

Install requirements

pip install -r requirements.txt

Use the notification

Where you would like to use telegram notification add:

import python_telegram_notification

Initialize

The first time this code is run it will walk you through the initialization process

bot = python_telegram_notification.telegram_notification(add_prefix='optional_prefix_')

Send

To send notification use one of the following commands:

bot.send_message(message_string)
bot.send_document(PATH_TO_DOCUMENT, filename='optinal_file_name')

About

easy setup of telegram notification to add to any project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages