From a3f6452cfe774898a89ac66be393e5205f5e12b7 Mon Sep 17 00:00:00 2001 From: Rahix Date: Thu, 22 May 2025 02:00:52 +0200 Subject: [PATCH] fix not accepting negative user ids The bot users have negative user ids so we need to accept them here. --- src/generated/structs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generated/structs.rs b/src/generated/structs.rs index 5b97ac9..45f767b 100644 --- a/src/generated/structs.rs +++ b/src/generated/structs.rs @@ -2541,7 +2541,7 @@ pub struct User { /// the user's full name pub full_name: Option, /// the user's id - pub id: Option, + pub id: Option, /// Is the user an administrator pub is_admin: Option, /// User locale