Telegram Passport

PassportElementErrorReverseSide

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

fields

fieldtyperequireddescription
sourcestringrequiredError source, must be reverse_side
type"driver_license" | "identity_card"requiredThe section of the user's Telegram Passport which has the issue, one of “driver_license”, “identity_card”
file_hashstringrequiredBase64-encoded hash of the file with the reverse side of the document
messagestringrequiredError message

import

types.ts
import type { PassportElementErrorReverseSide } from "@yaebal/types";

used by

types