Change example

This commit is contained in:
CramMK
2020-01-10 09:09:27 +01:00
parent 3ee205e6bc
commit af876b3519

View File

@@ -1,17 +0,0 @@
use irssi_wire::net::wire_api::auth::*;
use irssi_wire::net::wire_api::conversations::*;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let mut client = WireClient::new(
String::from("marco_thomas@genua.de"),
String::from("MarcMK1337#"),
Config::Default,
);
let auth_response = client.authentification().await.unwrap();
let conversations = client.fetch_conversations(&auth_response).await.unwrap();
Ok(())
}