Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timjb/telegram-sendmessage
Using the Telegram Bot API to send messages to myself
https://github.com/timjb/telegram-sendmessage
telegram-api
Last synced: 24 days ago
JSON representation
Using the Telegram Bot API to send messages to myself
- Host: GitHub
- URL: https://github.com/timjb/telegram-sendmessage
- Owner: timjb
- License: mit
- Created: 2015-10-07T21:17:32.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-11-01T12:22:37.000Z (about 3 years ago)
- Last Synced: 2024-10-23T04:53:01.049Z (2 months ago)
- Topics: telegram-api
- Language: Haskell
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# telegram-sendmessage
Use the Telegram API to send a message to
all users having a conversation with the bot.
You need to get an API token first and put it in `~/.telegram-token`.
You can get such a token from the [Botfather](https://core.telegram.org/bots#botfather).## Usage
```bash
$ telegram-sendmessage your message goes here
```## Installation
Using stack:
```bash
$ stack install
```With cabal:
```bash
$ cabal install
```