Crate vkteams_bot
source ·Expand description
§VK Teams Bot API client
This crate provides a client for the VK Teams Bot API V1.
Asyncronous request is based on reqwest
and tokio
.
JSON Serialization and Deserialization serde_json
.
Serialization Url query is based on serde_url_params
.
[dependencies]
vkteams = "0.3"
Compiler support: requires rustc 1.67+.
§Environment
RUST_LOG
- log level (default:info
)VKTEAMS_BOT_API_TOKEN
- bot tokenVKTEAMS_BOT_API_URL
- bot api urlVKTEAMS_PROXY
- proxy url
# Unix-like
$ export VKTEAMS_BOT_API_TOKEN=<Your token here> #require
$ export VKTEAMS_BOT_API_URL=<Your base api url> #require
$ 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_PROXY=<Proxy> #optional