[−][src]Function vk_bot::bot::post
fn post(
data: Json<CallbackAPIRequest>,
state: State<Bot>
) -> Result<String, Status>
Handles POST
requests by first checking that secret and group ID are
correct, and then responds with either confirmation token (if that is what
was requested) or VK_OK
in the other case.