fix(oauth2): use public bot

This commit is contained in:
Zomatree
2025-06-24 02:21:51 +01:00
parent 3ae25fbcfe
commit 1e5b27ff9e
3 changed files with 7 additions and 9 deletions

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,
}