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:
parent
2da8ccbd0f
commit
a3f6452cfe
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue