StaticGramBot API

PassportElementErrorFile

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

Поля

sourceString
Error source, must be file
typeString
The section of the user's Telegram Passport which has the issue, one of “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration”, “temporary_registration”
file_hashString
Base64-encoded file hash
messageString
Error message

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

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

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

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