Crate telegraph_rs

Source
Expand description

telegraph API binding in Rust

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

§Examples

use telegraph_rs::{Telegraph, html_to_node};

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

let page = telegraph.create_page("title", &html_to_node("<p>Hello, world</p>"), false).await?;

Re-exports§

pub use error::*;
pub use types::*;
pub use utils::*;

Modules§

error
types
utils

Structs§

AccountBuilder
Telegraph

Type Aliases§

Result