Skip to content

GramIO API Reference / gramio/dist / TelegramPassportElementErrorFile

Interface: TelegramPassportElementErrorFile

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

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:8599
messagestringError message@gramio/types/out/objects.d.ts:8603
source"file"Error source, must be file@gramio/types/out/objects.d.ts:8591
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:8595