groupme_bot

Crates.iogroupme_bot
lib.rsgroupme_bot
version0.1.2
sourcesrc
created_at2018-04-15 02:42:57.360146
updated_at2018-04-20 01:51:14.974028
descriptionRust library wrapper for Groupme bots API.
homepagehttps://github.com/dominikWin/groupme_bot.git
repositoryhttps://github.com/dominikWin/groupme_bot.git
max_upload_size
id60686
size18,976
Dominik Winecki (dominikWin)

documentation

https://docs.rs/groupme_bot/

README

groupme_bot

Crates.io Build Status

Rust library for the Groupme Bots API.

The library allows for Rust programms to create, destroy, and post messages and images to Groupme.

Example

To use bots you need to get an API token at dev.groupme.com.

Bots can be created either online or through the library.

use groupme_bot::{Groupme, Bot};

// Posting doesn't require a token
let groupme = Groupme::new(None);

let bot = groupme.bot("Secret bot_id");

bot.post("Hello, world!").unwrap();
Commit count: 25

cargo fmt