diff --git a/bin/send_message.sh b/bin/send_message.sh index 90ad226..f6acdb3 100755 --- a/bin/send_message.sh +++ b/bin/send_message.sh @@ -8,11 +8,15 @@ USAGE='send_message.sh [-h|--help] [format] "CHAT[ID]" "message ...." [debug]' # # DESCRIPTION: send a message to the given user/group # -# OPTIONS: format - normal, markdown, html (optional) +# OPTIONS: format - normal, markdown, html, stdin, - (optional) # CHAT[ID] - ID number of CHAT or BOTADMIN to send to yourself # message - message to send in specified format # if no format is givern send_message() format is used # +# use format "stdin" to read message from stdin or from a file: +# send_message.sh stdin "CHAT[ID]"