Skip to content

PassportElementErrorFrontSide

Represents an issue with the front side of a document. The error is considered resolved when the file with the front side of the document changes.

4 fields, 4 required.

Fields

source "front_side" Required
Error source, must be front_side.

type "passport" | "driver_license" | "identity_card" | "internal_passport" Required
The section of the user’s Telegram Passport which has the issue, one of “passport”, “driver_license”, “identity_card”, “internal_passport”.

file_hash string Required
Base64-encoded hash of the file with the front side of the document.

message string Required
Error message.