Update readme
This commit is contained in:
parent
b6bb6e00f6
commit
5e7f1150d5
10
README.md
10
README.md
|
@ -10,13 +10,17 @@ Super simple curl wrapper to send Telegram messages.
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
```text
|
```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.
|
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:
|
Needs these files to work:
|
||||||
File with telegram bot token: /Users/rob/.telegram/bottoken
|
File with telegram bot token: /Users/rob/.telegram/bottoken
|
||||||
File with telegram chat id: /Users/rob/.telegram/chatid
|
File with telegram chat id: /Users/rob/.telegram/chatid
|
||||||
```
|
```
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
|
|
Loading…
Reference in New Issue