This is a Rust command line application powered by rust-curl, made to simplify the use of Telegram bot APIs.
Whether you use this project, have learned something from it, or just like it, please consider supporting it by buying me a coffee, so I can dedicate more time on open-source projects like this
- Send message to a specific recipient from Telegram bot
- Send files (documents, images, etc.) with an optional caption
If you don't have Rust installed on your machine, you can do it with this command:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Clone this repo to your desktop and run cargo run and cargo build --release to install all the dependencies and compile a release version.
Telly needs an .ini configuration file, containing the following information:
[DEFAULT]
api_key = apiKeyBotTelegram
basic = https://api.telegram.org/botnumber:
recipient = chatIdtelly config.ini "hello world"telly config.ini "Here is the requested document" --file path/to/file.pdfYou can check out the full license here
This project is licensed under the terms of the MIT license.

