StaticGramBot API

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.

Поля

sourceString
Error source, must be front_side
typeString
The section of the user's Telegram Passport which has the issue, one of “passport”, “driver_license”, “identity_card”, “internal_passport”
file_hashString
Base64-encoded hash of the file with the front side of the document
messageString
Error message

Минимальный JSON

JSON
{
  "source": "...",
  "type": "private",
  "file_hash": "...",
  "message": "..."
}

Где используется

Описания методов и типов взяты из официальной документации Telegram Bot API (Bot API 10.3). Адрес API: https://api.staticgram.top