Crate vkteams_bot

source
Expand description

§VK Teams Bot API client

This crate provides a client for the VK Teams Bot API V1. Asynchronous request is based on reqwest and tokio. JSON Serialization and Deserialization serde_json. Serialization Url query is based on serde_url_params.

[dependencies]
vkteams_bot = "0.6"
log = "0.4"

§Environment

  • RUST_LOG - log level (default: info)
  • VKTEAMS_BOT_API_TOKEN - bot token
  • VKTEAMS_BOT_API_URL - bot api url
  • VKTEAMS_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

Re-exports§

  • pub use self::bot::Bot;

Modules§