#chat-bot #bot #chat #vk #callback #api #api-bindings

nightly vk-bot

Build chat bots for VK (VKontakte) communities easily

10 releases (3 stable)

3.0.0 Apr 27, 2020
2.0.0 Jun 8, 2019
1.0.0 May 11, 2019
0.8.0 May 4, 2019
0.5.0 Mar 30, 2019

#16 in #vk

46 downloads per month

MIT license

51KB
1K SLoC

vk-bot

version downloads license

Rust crate for creating chat bots for VK (VKontakte) communities. crates.iodocs »examples »

Installation

note: requires nightly Rust because of Rocket.

Cargo.toml

vk-bot = "3.0"

lib.rs:

Crate for creating chat bots for VK (VKontakte) communities.

note: this crate requires nightly Rust because of Rocket.

You can see Core documentation for information on how to define bot behavior. In particular, make sure to take a look at Core::on first.

Examples

Examples are available in the examples folder:

Basic example

The following example is taken from examples/basic.rs. It is not tested as a doc test because Bot::start never returns.

Dependencies

~25–35MB
~612K SLoC