conogram 0.2.19

An async wrapper for Telegram Bot API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use serde::{Deserialize, Serialize};

use crate::entities::{chat::Chat, chat_boost::ChatBoost};

/// This object represents a boost added to a chat or changed.
///
/// API Reference: [link](https://core.telegram.org/bots/api/#chatboostupdated)
#[derive(Debug, Clone, Default, PartialEq, Serialize, Deserialize)]
pub struct ChatBoostUpdated {
    /// Chat which was boosted
    pub chat: Box<Chat>,

    /// Information about the chat boost
    pub boost: ChatBoost,
}

// Divider: all content below this line will be preserved after code regen