1
0
Fork 0

fix not accepting negative user ids

The bot users have negative user ids so we need to accept them here.
This commit is contained in:
Rahix 2025-05-22 02:00:52 +02:00
parent 2da8ccbd0f
commit a3f6452cfe

View file

@ -2541,7 +2541,7 @@ pub struct User {
/// the user's full name
pub full_name: Option<String>,
/// the user's id
pub id: Option<u64>,
pub id: Option<i64>,
/// Is the user an administrator
pub is_admin: Option<bool>,
/// User locale