Crates.io | vkteams-bot |
lib.rs | vkteams-bot |
version | 0.11.4 |
created_at | 2023-12-10 11:25:42.899526+00 |
updated_at | 2025-08-19 20:27:44.846591+00 |
description | High-performance VK Teams Bot API toolkit with CLI and MCP server support |
homepage | https://github.com/bug-ops/vkteams-bot |
repository | https://github.com/bug-ops/vkteams-bot/tree/master |
max_upload_size | |
id | 1064154 |
size | 779,149 |
There are two ways to initialize the bot:
Begin with bot API following instructions
Set environment variables or save in .env
file
# Unix-like
$ export VKTEAMS_BOT_API_TOKEN=<Your token here> #require
$ export VKTEAMS_BOT_API_URL=<Your base api url> #require
$ export VKTEAMS_BOT_CONFIG=<Your bot config path> #optional
$ export VKTEAMS_PROXY=<Proxy> #optional
# Windows
$ set VKTEAMS_BOT_API_TOKEN=<Your token here> #require
$ set VKTEAMS_BOT_API_URL=<Your base api url> #require
$ set VKTEAMS_BOT_CONFIG=<Your bot config path> #optional
$ set VKTEAMS_PROXY=<Proxy> #optional
Cargo.toml
file[dependencies]
vkteams_bot = { version = "0.9", features = ["full"] }
Alternatively, you can create the bot by directly passing parameters:
let bot = Bot::with_default_version(
"your_bot_token".to_string(),
"https://api.example.com".to_string()
)?;