telegram-notifier/README.md

20 lines
516 B
Markdown

# 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
## Example for rtorrent.rc:
method.set_key = event.download.finished,notify_me,"execute=telegram-notifier,--config,/path/to/.telegram-notifier.yaml,--msg,$d.name="