New issue

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

Bot api 4.1 #1198

Merged
merged 4 commits into from Sep 1, 2018

Conversation

Projects
None yet
1 participant
@jsmnbom
Member

jsmnbom commented Aug 30, 2018

Telegram passport 1.1
Added support for middle names.
Added support for translations for documents
Add errors for translations for documents
Added support for requesting names in the language of the user's country of residence
Replaced the payload parameter with the new parameter nonce

NOTE: Scope stuff is NOT implemented, as we wanna STRONGLY encourage users to use the telegram provided SDKs anyway (and not generate telegram auth links in their bot, but rather on a server)

(NOTE: also fixes a bug with decryption sometimes failing...)

jsmnbom added some commits Aug 30, 2018

Fix passport decryption failing at random times
Sometimes a decrypted secret was being treated as b64 and therefore got decoded even further. Fix by decoding b64 right before call to decrypt so we have better control of when not to do it
Bot api 4.1
Telegram passport 1.1
Added support for middle names.
Added support for translations for documents
Add errors for translations for documents
Added support for requesting names in the language of the user's country of residence
Replaced the payload parameter with the new parameter nonce

NOTE: Scope stuff is NOT implemented, as we wanna STRONGLY encourage users to use the telegram provided SDKs anyway (and not generate telegram auth links in their bot, but rather on a server)
Add hash to EncryptedPassportElement
For use with PassportElementErrorUnspecified apparently

@jsmnbom jsmnbom merged commit 09bdb88 into master Sep 1, 2018

5 checks passed

Hound No violations found. Woof!
codecov/patch 94.59% of diff hit (target 92.22%)
Details
codecov/project 92.37% (+0.14%) compared to 937be3d
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@jsmnbom jsmnbom deleted the bot-api-4.1 branch Sep 1, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment