Skip to main content

Crate vk_bot_api

Crate vk_bot_api 

Source
Expand description

§VK Bot API for Rust

A modern, asynchronous, fully-featured VK Bot API library for Rust.

§Features

  • Full VK Bot API coverage
  • Async/await support
  • Strongly typed models
  • Extensible handler system
  • Multiple update delivery methods (Long Poll, Webhooks)
  • Support for all attachment types
  • Inline keyboards and callbacks
  • Error handling and retries

Re-exports§

pub use api::VkApi;
pub use bot::VkBot;
pub use error::VkError;
pub use error::VkResult;
pub use handler::DefaultMessageHandler;
pub use handler::MessageHandler;

Modules§

api
bot
error
handler
keyboard
models
prelude
Prelude module for convenient imports
utils

Macros§

vk_error
Error logging macro for VK Bot API
vk_log
Logging macro for VK Bot API
vk_warn
Warning logging macro for VK Bot API