Skip to content

Conversation

@jsmnbom
Copy link
Member

@jsmnbom 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...)

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
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)
For use with PassportElementErrorUnspecified apparently
@jsmnbom jsmnbom added the 📋 pending-review work status: pending-review label Aug 30, 2018
@jsmnbom jsmnbom merged commit 09bdb88 into master Sep 1, 2018
@jsmnbom jsmnbom deleted the bot-api-4.1 branch September 1, 2018 17:45
@github-actions github-actions bot locked and limited conversation to collaborators Aug 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

📋 pending-review work status: pending-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants