StaticGramBot API
Раздел

Telegram Passport

Telegram Passport

Telegram Passport is a unified authorization method for services that require personal identification. Users can upload their documents once, then instantly share their data with services that require real-world ID (finance, ICOs, etc.). Please see the manual for details.

Методы 1

МетодСтатусОписание
setPassportDataErrorsПоддерживаетсяInforms a user that some of the Telegram Passport elements they provided contains errors.

Типы 14

ТипОписание
PassportDataDescribes Telegram Passport data shared with the bot by the user.
PassportFileThis object represents a file uploaded to Telegram Passport.
EncryptedPassportElementDescribes documents or other Telegram Passport elements shared with the bot by the user.
EncryptedCredentialsDescribes data required for decrypting and authenticating EncryptedPassportElement .
PassportElementErrorThis object represents an error in the Telegram Passport element which was submitted that should be resolved by the user.
PassportElementErrorDataFieldRepresents an issue in one of the data fields that was provided by the user.
PassportElementErrorFrontSideRepresents an issue with the front side of a document.
PassportElementErrorReverseSideRepresents an issue with the reverse side of a document.
PassportElementErrorSelfieRepresents an issue with the selfie with a document.
PassportElementErrorFileRepresents an issue with a document scan.
PassportElementErrorFilesRepresents an issue with a list of scans.
PassportElementErrorTranslationFileRepresents an issue with one of the files that constitute the translation of a document.
PassportElementErrorTranslationFilesRepresents an issue with the translated version of a document.
PassportElementErrorUnspecifiedRepresents an issue in an unspecified place.

Описания методов и типов взяты из официальной документации Telegram Bot API (Bot API 10.3). Адрес API: https://api.staticgram.top