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
// WARNING: THIS CODE IS AUTOGENERATED.
// DO NOT EDIT!!!

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

/// This object represents a chat background.
/// <https://core.telegram.org/bots/api#chatbackground>
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct ChatBackground {
    /// Type of the background
    pub r#type: BackgroundType,
}