mirror of https://github.com/usememos/memos
fix: all ID from int to int64 to avoid 32bits machine break (#2191)
Fix all ID from int to int64 to avoid 32bits machine breakpull/2194/head
parent
87a1d4633e
commit
9987337eca
@ -1,7 +1,7 @@
|
||||
package telegram
|
||||
|
||||
type Update struct {
|
||||
UpdateID int `json:"update_id"`
|
||||
UpdateID int64 `json:"update_id"`
|
||||
Message *Message `json:"message"`
|
||||
CallbackQuery *CallbackQuery `json:"callback_query"`
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
package telegram
|
||||
|
||||
type User struct {
|
||||
ID int `json:"id"`
|
||||
ID int64 `json:"id"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue