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
use serde::{Deserialize, Serialize};

use crate::entities::background_type::BackgroundType;

/// This object represents a chat background.
///
/// API Reference: [link](https://core.telegram.org/bots/api/#chatbackground)
#[derive(Debug, Clone, Default, PartialEq, Serialize, Deserialize)]
pub struct ChatBackground {
    /// Type of the background
    #[serde(rename = "type")]
    pub type_: BackgroundType,
}

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