fix(oauth2): use public bot

This commit is contained in:
Zomatree
2025-08-18 01:58:14 +01:00
parent 3ae25fbcfe
commit 1e5b27ff9e
3 changed files with 7 additions and 9 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
use crate::v0::{Bot, User};
use crate::v0::{PublicBot, User};
auto_derived!(
pub struct OAuth2AuthorizeAuthResponse {
@@ -7,7 +7,7 @@ auto_derived!(
}
pub struct OAuth2AuthorizeInfoResponse {
pub bot: Bot,
pub bot: PublicBot,
pub user: User,
}