mirror of
https://gitea.0xace.cc/rust/telegram-notifier.git
synced 2024-11-25 05:46:40 +00:00
516 B
516 B
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="