telegramx.js

PassportElementErrorFiles

interface

Represents an issue with a list of scans. The error is considered resolved when the list of files containing the scans changes.

Declaration

interface PassportElementErrorFiles 

Properties

file_hashesproperty#
file_hashes: string[];

List of base64-encoded file hashes

messageproperty#
message: string;

Error message

sourceproperty#
source: 'files';

Error source, must be files

typeproperty#
type: string;

The section of the user's Telegram Passport which has the issue, one of "utility_bill", "bank_statement", "rental_agreement", "passport_registration", "temporary_registration"