telegraph-rs

Crates.iotelegraph-rs
lib.rstelegraph-rs
version0.6.3
sourcesrc
created_at2019-05-19 05:20:53.787881
updated_at2024-08-06 07:41:43.372586
descriptiontelegraph binding for Rust
homepagehttps://github.com/Aloxaf/telegraph-rs
repositoryhttps://github.com/Aloxaf/telegraph-rs
max_upload_size
id135205
size28,588
Aloxaf (Aloxaf)

documentation

README

telegraph-rs

crates.io Documentation

telegraph binding in Rust

see https://telegra.ph/api for more information

Examples

#[tokio::main]
async fn main() {
    use telegraph_rs::{Telegraph, html_to_node};

    let telegraph = Telegraph::new("test_account").create().await.unwrap();

    let page = telegraph
        .create_page("title", &html_to_node("<p>Hello, world</p>"), false)
        .await
        .unwrap();
}
Commit count: 27

cargo fmt