vkteams-bot

Crates.iovkteams-bot
lib.rsvkteams-bot
version0.11.4
created_at2023-12-10 11:25:42.899526+00
updated_at2025-08-19 20:27:44.846591+00
descriptionHigh-performance VK Teams Bot API toolkit with CLI and MCP server support
homepagehttps://github.com/bug-ops/vkteams-bot
repositoryhttps://github.com/bug-ops/vkteams-bot/tree/master
max_upload_size
id1064154
size779,149
Andrei G (bug-ops)

documentation

https://docs.rs/vkteams-bot

README

VK Teams Bot API client

docs.rs crates.io codecov Unsafe forbidden

Table of Contents

Environment

There are two ways to initialize the bot:

Option 1: Using Environment Variables (Default)

  1. Begin with bot API following instructions

  2. 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
  1. Put lines in you Cargo.toml file
[dependencies]
vkteams_bot = { version = "0.9", features = ["full"] }

Option 2: Direct Parameter Passing

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()
)?;

Usage examples

Examples:

Commit count: 143

cargo fmt