use crate::api::structs::user::User;
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
pub struct ChatMemberRestricted {
pub status: String,
pub user: User,
pub is_member: bool,
pub can_send_messages: bool,
pub can_send_audios: bool,
pub can_send_documents: bool,
pub can_send_photos: bool,
pub can_send_videos: bool,
pub can_send_video_notes: bool,
pub can_send_voice_notes: bool,
pub can_send_polls: bool,
pub can_send_other_messages: bool,
pub can_add_web_page_previews: bool,
pub can_change_info: bool,
pub can_invite_users: bool,
pub can_pin_messages: bool,
pub can_manage_topics: bool,
pub until_date: i64,
}