Update readme

This commit is contained in:
Rob Pearce 2023-11-27 10:43:56 +11:00
parent b6bb6e00f6
commit 5e7f1150d5
1 changed files with 7 additions and 3 deletions

View File

@ -10,13 +10,17 @@ Super simple curl wrapper to send Telegram messages.
# Usage
```text
usage: ./telegram-send.sh "text to send"
usage: ./telegram-send.sh [OPTIONS] "text to send"
Instructs telegram bot to send the supplied message to a chat.
OPTIONS
-b filename Override default bot token file (/Users/rob/.telegram/bottoken)
-c filename Override default chat id token file (/Users/rob/.telegram/chatid)
Needs these files to work:
File with telegram bot token: /Users/rob/.telegram/bottoken
File with telegram chat id: /Users/rob/.telegram/chatid
File with telegram bot token: /Users/rob/.telegram/bottoken
File with telegram chat id: /Users/rob/.telegram/chatid
```
# Example