NextGramBot API

PassportData

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

Поля

Array with information about documents and other NextGram 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.mirviss.ru