feat: include groups and dms in fetch mutuals

This commit is contained in:
Zomatree committed 2025-08-24 03:40:10 +01:00
1 parent 5335124306
commit caa8607468
2 files changed
+6 -3

No files matched your search

+3 -1
View File
@@ -255,12 +255,14 @@ auto_derived!(
pub flags: i32,
}
/// Mutual friends and servers response
/// Mutual friends, servers, groups and DMs response
pub struct MutualResponse {
/// Array of mutual user IDs that both users are friends with
pub users: Vec<String>,
/// Array of mutual server IDs that both users are in
pub servers: Vec<String>,
/// Array of mutual group and dm IDs that both users are in
pub channels: Vec<String>,
}
/// Bot information for if the user is a bot