botrs 0.13.0

A Rust QQ Bot framework based on QQ Guild Bot API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use serde::{Deserialize, Serialize};

/// Emoji structure for reactions
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, Default)]
pub struct Emoji {
    /// Emoji ID
    #[serde(default)]
    pub id: String,
    /// Emoji type
    #[serde(default, rename = "type")]
    pub emoji_type: i32,
}