Telegram bot in Rust
A fun Telegram bot made using Rust language.
Why?
This repo was created to make my own telegram bot, and Learn Rust along with it too.
Usage
This project uses cargo, Be sure to ensure you got that installed.
NOTE: You can change the configuration settings available in config.rs
.
And here's the steps to get it running!
- Install the dependencies:
cargo build
- Set the Telegram bot token
- Windows:
set BOT_TOKEN=your-token
- MacOS / Linux:
export BOT_TOKEN=your-token
- Windows:
- Once done, Run it using this command:
cargo run
Bam, You're done!