Members is optional
This commit is contained in:
parent
0fd7b304ad
commit
6d90980bf4
|
@ -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>,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue