StaticGramBot API

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.

Поля

sourceString
Error source, must be data
typeString
The section of the user's Telegram Passport which has the error, one of “personal_details”, “passport”, “driver_license”, “identity_card”, “internal_passport”, “address”
Name of the data field which has the error
data_hashString
Base64-encoded data hash
messageString
Error message

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

JSON
{
  "source": "...",
  "type": "private",
  "field_name": "...",
  "data_hash": "...",
  "message": "..."
}

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

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