Skip to content

PassportElementErrorTranslationFile

Represents an issue with one of the files that constitute the translation of a document. The error is considered resolved when the file changes.

Fields

sourceString = translation_fileRequired
Error source, must be translation\_file
typeStringRequired
Values:passportdriver_licenseidentity_cardinternal_passportutility_billbank_statementrental_agreementpassport_registrationtemporary_registration
Type of element of the user's Telegram Passport which has the issue, one of "passport", "driver\license", "identity\card", "internal\passport", "utility\bill", "bank\statement", "rental\agreement", "passport\registration", "temporary\registration"
file_hashStringRequired
Base64-encoded file hash
messageStringRequired
Error message

GramIO Usage

See Also