StaticGramBot API

PassportData

Describes Telegram Passport data shared with the bot by the user.

Поля

Array with information about documents and other Telegram Passport elements that was shared with the bot
Encrypted credentials required to decrypt the data

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

JSON
{
  "data": [],
  "credentials": {
    "data": "...",
    "hash": "...",
    "secret": "..."
  }
}

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

Типы

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