StaticGramBot API

EncryptedCredentials

Describes data required for decrypting and authenticating EncryptedPassportElement. See the Telegram Passport Documentation for a complete description of the data decryption and authentication processes.

Поля

dataString
Base64-encoded encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for EncryptedPassportElement decryption and authentication
hashString
Base64-encoded data hash for data authentication
secretString
Base64-encoded secret, encrypted with the bot's public RSA key, required for data decryption

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

JSON
{
  "data": "...",
  "hash": "...",
  "secret": "..."
}

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

Типы

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