turingram 0.0.2

Small runtime-agnostic Telegram Bot API framework for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::Serialize;

/// Dice animation type for [`crate::methods::SendDice`].
#[derive(Debug, Serialize)]
pub enum DiceType {
    /// Standard dice animation.
    #[serde(rename = "🎲")]
    Dice,
    /// Dartboard animation.
    #[serde(rename = "🎯")]
    Dart,
    /// Slot machine animation.
    #[serde(rename = "🎰")]
    Slot,
}