vkteams-bot-cli-0.2.0 has been yanked.
VK Teams Bot API Cli
VK Teams Bot API terminal application.
Table of Contents
Environment
- Begin with bot API following instructions
- Set environment variables or save in
.env file
$ export VKTEAMS_VKTEAMS_BOT_API_TOKEN=<Your token here> $ export VKTEAMS_BOT_API_URL=<Your base api url> $ export VKTEAMS_PROXY=<Proxy>
$ cargo install vkteams-bot-cli
$ set VKTEAMS_VKTEAMS_BOT_API_TOKEN=<Your token here> $ set VKTEAMS_BOT_API_URL=<Your base api url> $ set VKTEAMS_PROXY=<Proxy>
$ cargo install vkteams-bot-cli
- Put lines in you
Cargo.toml file
[dependencies]
vkteams_bot_cli = "0.2"
Usage
$ vkteams-bot-cli --help
$ vkteams-bot-cli get-events -l true | grep "ALARM"
$ vkteams-bot-cli send-text -u "<USER_ID>" -m "text message"
$ vkteams-bot-cli send-file -u "<USER_ID>" -f <FILE_PATH>