telegraph-rs

Crates.iotelegraph-rs
lib.rstelegraph-rs
version0.6.2
sourcesrc
created_at2019-05-19 05:20:53.787881
updated_at2023-06-25 03:55:26.900957
descriptiontelegraph binding for Rust
homepagehttps://github.com/Aloxaf/telegraph-rs
repositoryhttps://github.com/Aloxaf/telegraph-rs
max_upload_size
id135205
size28,275
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