We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using tdjson bindings, the field media_album_id in Message is passed as json string, which should be a number.
Steps to reproduce: Send a text message, wait for an UpdateNewMessage to arrive, catch the bug!
The text was updated successfully, but these errors were encountered:
That's because media_album_id is of type int_64. JSON does not support 64 bit integer so they are encoded as strings. That is also documented here:
media_album_id
int_64
int32, int53 and double fields are stored as Numbers. int64 and string fields are stored as Strings.
Sorry, something went wrong.
Oh.. Thanks
No branches or pull requests
I'm using tdjson bindings, the field media_album_id in Message is passed as json string, which should be a number.
Steps to reproduce:
Send a text message, wait for an UpdateNewMessage to arrive, catch the bug!
The text was updated successfully, but these errors were encountered: