Members is optional

This commit is contained in:
kozabrada123 2023-05-28 17:36:12 +02:00
parent 0fd7b304ad
commit 6d90980bf4
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ use crate::types::{GuildMember, VoiceState};
/// Seems to be passively set to update the client on guild details (though, why not just send the update events?) /// Seems to be passively set to update the client on guild details (though, why not just send the update events?)
pub struct PassiveUpdateV1 { pub struct PassiveUpdateV1 {
pub voice_states: Vec<VoiceState>, pub voice_states: Vec<VoiceState>,
pub members: Vec<GuildMember>, pub members: Option<Vec<GuildMember>>,
pub guild_id: String, pub guild_id: String,
pub channels: Vec<ChannelUnreadUpdateObject>, pub channels: Vec<ChannelUnreadUpdateObject>,
} }