python-telegram-bot/telegram
Jasmin Bom 09bdb88822
Bot api 4.1 (#1198)
* 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)

* Minor fixes

* Add hash to EncryptedPassportElement

For use with PassportElementErrorUnspecified apparently
2018-09-01 16:58:08 +02:00
..
ext Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
files Bot api 4.1 (#1198) 2018-09-01 16:58:08 +02:00
games Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
inline Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
passport Bot api 4.1 (#1198) 2018-09-01 16:58:08 +02:00
payment remove unnecessary to_dict() (#834) 2018-02-19 10:31:38 +02:00
utils Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
vendor Add urllib3 fix for socks5h support (#1085) 2018-04-25 21:23:48 +03:00
__init__.py Bot api 4.1 (#1198) 2018-09-01 16:58:08 +02:00
__main__.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
base.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
bot.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
callbackquery.py remove unnecessary to_dict() (#834) 2018-02-19 10:31:38 +02:00
chat.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
chataction.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
chatmember.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
choseninlineresult.py remove unnecessary to_dict() (#834) 2018-02-19 10:31:38 +02:00
constants.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
error.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
forcereply.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
keyboardbutton.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
message.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
messageentity.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
parsemode.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
replykeyboardmarkup.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
replykeyboardremove.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
replymarkup.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
update.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
user.py Bot API 4.0 (#1168) 2018-08-29 14:18:58 +02:00
userprofilephotos.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00
version.py Prepare for 11.0.0 release 2018-08-29 15:21:02 +02:00
webhookinfo.py Update headers to 2018 (#962) 2018-01-04 17:16:06 +02:00