telegram_bots_api/api/enums/
background_type.rs1use crate::api::structs::background_type_chat_theme::BackgroundTypeChatTheme;
2use crate::api::structs::background_type_fill::BackgroundTypeFill;
3use crate::api::structs::background_type_pattern::BackgroundTypePattern;
4use crate::api::structs::background_type_wallpaper::BackgroundTypeWallpaper;
5use serde::{Deserialize, Serialize};
6
7#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
14pub enum BackgroundType {
15 Fill(BackgroundTypeFill),
16 Wallpaper(BackgroundTypeWallpaper),
17 Pattern(BackgroundTypePattern),
18 ChatTheme(BackgroundTypeChatTheme),
19}