grammers-client 0.9.0

A high level client to interact with Telegram's API.
Documentation
// Copyright 2020 - developers of the `grammers` project.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

//! Text parsers to separate or combine the formatting entities in messages.
//!
//! Keep in mind that these deal with raw types, which are not part of
//! the semantic versioning of this crate.

mod common;
#[cfg(feature = "html")]
mod html;
#[cfg(feature = "markdown")]
mod markdown;

#[cfg(feature = "html")]
pub use html::{generate_html_message, parse_html_message};
#[cfg(feature = "markdown")]
pub use markdown::{generate_markdown_message, parse_markdown_message};