readme
This commit is contained in:
parent
cda89d6e97
commit
c3171317a5
1 changed files with 18 additions and 0 deletions
18
readme.md
Normal file
18
readme.md
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# telegram-bot-send-message
|
||||||
|
|
||||||
|
Get token from [@BotFather](https://t.me/BotFather).
|
||||||
|
|
||||||
|
Create config at `$HOME/telegram-bot-send-message.json`
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"token": "replace with token",
|
||||||
|
"chat_id": replace with chat id from a bot like https://t.me/getmy_idbot
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Run
|
||||||
|
|
||||||
|
```go
|
||||||
|
telegram-bot-send-message "I hate computers."
|
||||||
|
```
|
Loading…
Reference in a new issue