Skip to content

GramIO API Reference / gramio/dist / TelegramPassportElementErrorDataField

Interface: TelegramPassportElementErrorDataField

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

Represents an issue in one of the data fields that was provided by the user. The error is considered resolved when the field's value changes.

Documentation

Properties

PropertyTypeDescriptionDefined in
data_hashstringBase64-encoded data hash@gramio/types/out/objects.d.ts:11183
field_namestringName of the data field which has the error@gramio/types/out/objects.d.ts:11179
messagestringError message@gramio/types/out/objects.d.ts:11187
source"data"Error source, must be data@gramio/types/out/objects.d.ts:11171
typeTelegramPassportElementErrorDataFieldTypeThe section of the user's Telegram Passport which has the error, one of “personal_details”, “passport”, “driver_license”, “identity_card”, “internal_passport”, “address”@gramio/types/out/objects.d.ts:11175