Skip to content

GramIO API Reference / gramio/dist / TelegramPassportElementErrorSelfie

Interface: TelegramPassportElementErrorSelfie

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

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

Documentation

Properties

PropertyTypeDescriptionDefined in
file_hashstringBase64-encoded hash of the file with the selfie@gramio/types/out/objects.d.ts:8568
messagestringError message@gramio/types/out/objects.d.ts:8572
source"selfie"Error source, must be selfie@gramio/types/out/objects.d.ts:8560
typeTelegramPassportElementErrorSelfieTypeThe section of the user's Telegram Passport which has the issue, one of “passport”, “driver_license”, “identity_card”, “internal_passport”@gramio/types/out/objects.d.ts:8564