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.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
file_hash | string | Base64-encoded file hash | @gramio/types/out/objects.d.ts:8599 |
message | string | Error message | @gramio/types/out/objects.d.ts:8603 |
source | "file" | Error source, must be file | @gramio/types/out/objects.d.ts:8591 |
type | TelegramPassportElementErrorFileType | The 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 |