telegramx.js

PassportElementErrorSelfie

interface

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

Declaration

interface PassportElementErrorSelfie 

Properties

file_hashproperty#
file_hash: string;

Base64-encoded hash of the file with the selfie

messageproperty#
message: string;

Error message

sourceproperty#
source: 'selfie';

Error source, must be selfie

typeproperty#
type: string;

The section of the user's Telegram Passport which has the issue, one of "passport", "driver_license", "identity_card", "internal_passport"