Wondering if your build finished? Tepe is a CLI that lets you command a bot to send messages and files over Telegram.
Be sure you've installed Rust on your computer.
bash
git clone https://github.com/Hermitter/tepe && cd tepe
cargo install --path .
Talk to @Botfather and go through some dialog options until you've successfully created a bot. You should receive a token in the format of 123456789:blablabla
Export the token by exposing it as an environmental variable
```bash
export TEPETELEGRAMBOTTOKEN=PlaceBotTokenHere ```
```bash
set TEPETELEGRAMBOTTOKEN=PlaceBotTokenHere ```
You can start talking to your bot by visiting (https://t.me/YOURBOTNAME_HERE).
Once inside the chat, run the following command. The bot will print the chat_id
of any chatroom that messages it.
tepe test
Example output:
```
Your Telegram bot is now running! Try sending a message. On success, the chat_id is printed.
Press Ctrl+c to exit.
Successful reply from chat_id: 923567462
```
TEPETELEGRAMCHAT_ID can be used to avoid setting the same
chat_id
every time
You're now ready to send messages!
Example command:
bash
tepe send ./shopping_list.txt ./some_photo.png -m "here are your things"
Usage:
```bash USAGE: tepe send [OPTIONS] [--] [files]...
FLAGS: -h, --help Prints help information -V, --version Prints version information
OPTIONS:
-c, --chat
ARGS: