You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to doc, IDs and file sizes are at most 52 bits.
This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this identifier.
So they should be i64, not an int(32 bits integer).
The full list:
User.id
Chat.id
Message.migrate_to_chat_id
Message.migrate_from_chat_id
Animation.file_size
Audio.file_size
Document.file_size
Video.file_size
Voice.file_size
Contact.user_id
UserShared.user_id
ChatShared.user_id
File.file_size
ChatJoinRequest.user_chat_id
ResponseParameters.migrate_to_chat_id
Should I make a PR for this?
The text was updated successfully, but these errors were encountered:
According to doc, IDs and file sizes are at most 52 bits.
So they should be i64, not an int(32 bits integer).
The full list:
User.id
Chat.id
Message.migrate_to_chat_id
Message.migrate_from_chat_id
Animation.file_size
Audio.file_size
Document.file_size
Video.file_size
Voice.file_size
Contact.user_id
UserShared.user_id
ChatShared.user_id
File.file_size
ChatJoinRequest.user_chat_id
ResponseParameters.migrate_to_chat_id
Should I make a PR for this?
The text was updated successfully, but these errors were encountered: