Skip to content

Conversation

@mircoianese
Copy link
Collaborator

The commit 9bbaac4 addresses this issue:

After one of the upcoming Bot API updates, user identifiers will become bigger than 2^31 - 1 and it will be no longer possible to store them in a signed 32-bit integer type. User identifiers will have up to 52 significant bits, so a 64-bit integer or double-precision float type would still be safe for storing them. Please make sure that your code can correctly handle such user identifiers.

Note: I did not run any test on these updates, so please have a look into these before merging.

-Use Long for user identifiers
…od sendInvoice to allow adding optional tips to the payment
…al. If the parameter isn't specified, the invoice can be paid directly from forwarded messages.
…pe of the chat, from which the inline request was sent.
…record_voice” and “upload_voice” instead of “record_audio” and “upload_audio” for related to voice note actions
@pengrad
Copy link
Owner

pengrad commented Jul 7, 2021

thanks a lot!

@pengrad pengrad merged commit 9febea5 into pengrad:master Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants