Skip to content

Bot API 4.1

Compare
Choose a tag to compare
@pengrad pengrad released this 27 Aug 18:11
· 522 commits to master since this release
  • Added support for translated versions of documents in Telegram Passport. New field translation in EncryptedPassportElement and in SecureValue
  • Added field nonce in Credentials
  • Added support for middle names and requesting names in the language of the user country of residence. New fields middle_name, first_name_native, last_name_native and middle_name_native added to the PersonalDetails object
  • Added all passport error types - PassportElementErrorFrontSide, PassportElementErrorReverseSide, PassportElementErrorSelfie, PassportElementErrorFile, PassportElementErrorFiles, PassportElementErrorTranslationFile, PassportElementErrorTranslationFiles, PassportElementErrorUnspecified