Crate telegraph_rs[][src]

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::*;

Modules

error
types

Structs

AccountBuilder
Telegraph

Functions

html_to_node

Parse html to node string

Type Definitions

Result