# rmessenger [![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE) ##A Rust Wrapper for the FaceBook Messenger Bot API [Facebook's Messenger Platform](https://developers.facebook.com/docs/messenger-platform) crates.io: [rmessenger](https://crates.io/crates/rmessenger) ###About you can: - send text message - send generic message - send button message - send file url - send audio url ###Installation ####Cargo.toml ``` rmessenger = "0.0.3" ``` ###Usage ####Send text message https://developers.facebook.com/docs/messenger-platform/send-api-reference/text-message ```rust extern crate rmessenger; use rmessenger::bot; fn main() { let bot = bot::Bot::new("", ""); bot.send_text_message("", ""); } ```` ####Send generic message ```rust extern crate rmessenger; use rmessenger::bot; fn main() { let bot = bot::Bot::new("", ""); bot.send_generic_message(">", "[{'title': 'example', 'image_url': 'https://petersfancybrownhats.com/company_image.png' }]"); } ```` > elements param is &str ###TODO - send image - send file - send audio - send video