Skip to content

Repository files navigation

seabird-rs

Crates.io docs.rs License

A Rust client library for the seabird-chat ecosystem.

Example

use seabird::{ClientConfig, SeabirdClient};

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let config = ClientConfig {
        url: "https://seabird.example.com".to_string(),
        token: "your-token-here".to_string(),
    };

    let mut client = SeabirdClient::new(config).await?;
    client.send_message("channel-id", "Hello, world!", None).await?;

    Ok(())
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages