Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 706 Bytes

File metadata and controls

22 lines (16 loc) · 706 Bytes

TelegramBotOpenapi::EncryptedCredentials

Properties

Name Type Description Notes
data String Base64-encoded encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for EncryptedPassportElement decryption and authentication
hash String Base64-encoded data hash for data authentication
secret String Base64-encoded secret, encrypted with the bot's public RSA key, required for data decryption

Example

require 'telegram-bot-openapi'

instance = TelegramBotOpenapi::EncryptedCredentials.new(
  data: null,
  hash: null,
  secret: null
)