Metadata-Version: 2.1
Name: telegram-notification
Version: 0.1.20
Summary: Powerful utility to send telegram alarms from cli
Home-page: https://github.com/dankernel/telegram_notification
Author: dankernel
Author-email: dkdkernel@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: python-telegram-bot



# getting started

## 0. Install the utility.

Simply install.
```
$ sudp python3 -m pip install telegram-notification
```

## 1. Create your Telegram Bot.
![res01](https://raw.githubusercontent.com/dankernel/telegram_notification/main/res/01.gif)


- Search for `BotFather` on Telegram
- Enter `/start`
- Enter `/newbot`
- Enter `{your bot name}`
- Enter `{your bot id}`

## 2. Set your bot's token & user_id. 

![res02](https://raw.githubusercontent.com/dankernel/telegram_notification/main/res/02.gif)


- Enter `sudo noti` in the terminal.
- Enter the created bot token.
- Send `/start` to your bot.
- When confirmed, exit the program. (CTRL+c)

## 3. Use it anytime.

![res03](https://raw.githubusercontent.com/dankernel/telegram_notification/main/res/03.gif)


- Run it as a single command or use a pipe or use it in a shell script.

Please use it by referring to the [Example](https://github.com/dankernel/telegram_notification/blob/dev/docs/sample.md)


