#vk #chat #bot #callback #api

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

#7 in #vk

Download history 18/week @ 2020-10-02 16/week @ 2020-10-09 1/week @ 2020-10-16 16/week @ 2020-10-23 17/week @ 2020-11-06 1/week @ 2020-11-13 13/week @ 2020-11-27 25/week @ 2020-12-04 16/week @ 2021-01-01 18/week @ 2021-01-15

72 downloads per month

MIT license

50KB
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

~21MB
~485K SLoC