embystream 0.0.28

Another Emby streaming application (frontend/backend separation) written in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::api::{PhotoMessage, TextMessage};

/// Represents Telegram Bot API endpoints with their respective parameters.
///
/// This enum encapsulates all supported Telegram API operations,
/// providing a type-safe way to construct API requests.
#[derive(Debug, Clone)]
pub enum Operation {
    /// Send a text message to a chat
    SendMessage(TextMessage),

    /// Send a photo to a chat
    SendPhoto(PhotoMessage),
}