Skip to content

PassportElementErrorFrontSide

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

Fields

sourceString = front_sideRequired
Error source, must be front\_side
typeStringRequired
Values:passportdriver_licenseidentity_cardinternal_passport
The section of the user's Telegram Passport which has the issue, one of "passport", "driver\license", "identity\card", "internal\_passport"
file_hashStringRequired
Base64-encoded hash of the file with the front side of the document
messageStringRequired
Error message

GramIO Usage

See Also