[][src]Module vk_keyboard::button

Button type

use vk_keyboard::button::*;
let button = Button::new(ButtonColor::Primary,
    ButtonAction::Text{
        label: String::from("push me"),
        payload: String::new()
    }
);

println!("{:?}", button);

Structs

Button

The main type of a button that defines a color and a action

Enums

ButtonAction

Kind of a button Called action in the documentation.

ButtonColor

Color of button