use crate::api::structs::user::User;
use serde::{Deserialize, Serialize};
/// <https://core.telegram.org/bots/api#chatmemberowner>
/// Represents a chat member that owns the chat and has all administrator privileges.
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
pub struct ChatMemberOwner {
pub status: String,
pub user: User,
pub is_anonymous: bool,
#[serde(skip_serializing_if = "Option::is_none")]
pub custom_title: Option<String>,
}