seabird-rs
A Rust client library for the seabird-chat ecosystem.
Example
use ;
async
A Rust client library for the seabird-chat ecosystem.
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(())
}