mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-08-31 03:32:30 +00:00
feat: include user in responses when creating and editing bots
This commit is contained in:
@@ -162,4 +162,11 @@ auto_derived!(
|
||||
/// User objects
|
||||
pub users: Vec<User>,
|
||||
}
|
||||
|
||||
/// Bot with user response
|
||||
pub struct BotWithUserResponse {
|
||||
#[serde(flatten)]
|
||||
pub bot: Bot,
|
||||
pub user: User,
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user