telegram-notifier/README.md

20 lines
516 B
Markdown
Raw Normal View History

2023-03-05 08:28:28 +00:00
# Telegram notifier
## Options
- token - required, Telegram token
- chatid - required, Telegram chat id
- config - file, default config file name ".telegram-notifier.yaml"
## Command line example:
telegram-notifier --token XXXX --chatid YYYY --msg "My message"
## Config .telegram-notifier.yaml example:
token: XXXX
chatid: YYYY
2023-03-05 08:54:03 +00:00
## Example for rtorrent.rc:
method.set_key = event.download.finished,notify_me,"execute=telegram-notifier,--config,/path/to/.telegram-notifier.yaml,--msg,$d.name="