telegram-send/README.md

611 B
Executable File

Overview

Super simple curl wrapper to send Telegram messages.

Requirements

Usage

usage:  ./telegram-send.sh "text to send"

Instructs telegram bot to send the supplied message to a chat.

Needs these files to work:
File with telegram bot token: /Users/rob/.telegram/bottoken
File with telegram chat id:   /Users/rob/.telegram/chatid

Example

CLI command

rob@crom:telegram-send$ ./telegram-send.sh  "this is a test"
rob@crom:telegram-send$

Telegram output

telegramoutput