ferrisgram 0.2.1

An elegent rust client for the Telegram Bot API.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// WARNING: THIS CODE IS AUTOGENERATED.
// DO NOT EDIT!!!

use crate::types::ReactionType;
use serde::{Deserialize, Serialize};

/// Represents a reaction added to a message along with the number of times it was added.
/// <https://core.telegram.org/bots/api#reactioncount>
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct ReactionCount {
    /// Type of the reaction
    pub r#type: ReactionType,
    /// Number of times the reaction was added
    pub total_count: i64,
}