fix document 500 error and fix users tabel for bot

This commit is contained in:
lendry
2026-06-26 10:32:04 +03:00
parent ead3155ad8
commit d5e6b58955
17 changed files with 396 additions and 67 deletions

View File

@@ -4,6 +4,7 @@ package admin;
service AdminService {
rpc ListUsers (ListUsersRequest) returns (ListUsersResponse);
rpc ListBotAccounts (ListUsersRequest) returns (ListUsersResponse);
rpc UpdateUserProfile (UpdateUserRequest) returns (AdminUser);
rpc ResetPassword (ResetPasswordRequest) returns (AdminUser);
rpc SuspendUser (UserIdRequest) returns (AdminUser);
@@ -74,6 +75,9 @@ message AdminUser {
repeated string directPermissions = 12;
bool isVerified = 13;
optional string verificationIcon = 14;
bool isBot = 15;
optional string linkedBotUsername = 16;
optional bool isSystemBot = 17;
}
message ListUsersResponse {