use serde::Deserialize;
#[derive(Deserialize, Debug)]
pub struct Invite {
pub guild: Option<InviteGuild>,
}
#[derive(Deserialize, Debug)]
pub struct InviteGuild {
pub name: String,
pub features: Vec<String>,
pub welcome_screen: Option<WelcomeScreen>,
}
#[derive(Deserialize, Debug)]
pub struct WelcomeScreen {
pub description: Option<String>,
pub welcome_channels: Vec<WelcomeChannel>,
}
#[derive(Deserialize, Debug)]
pub struct WelcomeChannel {
pub channel_id: String,
pub description: String,
pub emoji_id: Option<String>,
pub emoji_name: String,
}