Skip to content

GramIO API Reference / gramio/dist / TelegramPassportElementErrorFile

Interface: TelegramPassportElementErrorFile

Defined in: @gramio/types/out/objects.d.ts:8759

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

Documentation

Properties

PropertyTypeDescriptionDefined in
file_hashstringBase64-encoded file hash@gramio/types/out/objects.d.ts:8771
messagestringError message@gramio/types/out/objects.d.ts:8775
source"file"Error source, must be file@gramio/types/out/objects.d.ts:8763
typeTelegramPassportElementErrorFileTypeThe section of the user's Telegram Passport which has the issue, one of “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration”, “temporary_registration”@gramio/types/out/objects.d.ts:8767