StaticGramBot API

PassportElementErrorTranslationFiles

Represents an issue with the translated version of a document. The error is considered resolved when a file with the document translation change.

Поля

sourceString
Error source, must be translation_files
typeString
Type of element of the user's Telegram Passport which has the issue, one of “passport”, “driver_license”, “identity_card”, “internal_passport”, “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration”, “temporary_registration”
file_hashesArray of String
List of base64-encoded file hashes
messageString
Error message

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

JSON
{
  "source": "...",
  "type": "private",
  "file_hashes": [],
  "message": "..."
}

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

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