Skip to main content

ferrisgram/helpers/
chat_background.rs

1// WARNING: THIS CODE IS AUTOGENERATED.
2// DO NOT EDIT!!!
3
4#![allow(clippy::too_many_arguments, clippy::new_without_default)]
5use crate::types::BackgroundType;
6use crate::types::ChatBackground;
7
8impl ChatBackground {
9    /// This function creates an empty struct for the object ChatBackground.
10    pub fn new(r#type: BackgroundType) -> Self {
11        Self { r#type }
12    }
13}