// WARNING: THIS CODE IS AUTOGENERATED.
// DO NOT EDIT!!!
#![allow(clippy::too_many_arguments, clippy::new_without_default)]
use crate::types::ChatMemberOwner;
use crate::types::User;
impl ChatMemberOwner {
/// This function creates an empty struct for the object ChatMemberOwner.
pub fn new(user: User, is_anonymous: bool) -> Self {
Self {
user,
is_anonymous,
custom_title: None,
}
}
}