Skip to content

PassportElementErrorDataField

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.

Fields

sourceString = dataRequired
Error source, must be data
typeStringRequired
Values:personal_detailspassportdriver_licenseidentity_cardinternal_passportaddress
The section of the user's Telegram Passport which has the error, one of "personal\details", "passport", "driver\license", "identity\card", "internal\passport", "address"
field_nameStringRequired
Name of the data field which has the error
data_hashStringRequired
Base64-encoded data hash
messageStringRequired
Error message

GramIO Usage

See Also