All Downloads are FREE. Search and download functionalities are using the official Maven repository.

telegramium.bots.EncryptedCredentials.scala Maven / Gradle / Ivy

package telegramium.bots

/** Describes data required for decrypting and authenticating EncryptedPassportElement. See the Telegram Passport
  * Documentation for a complete description of the data decryption and authentication processes.
  *
  * @param data
  *   Base64-encoded encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for
  *   EncryptedPassportElement decryption and authentication
  * @param hash
  *   Base64-encoded data hash for data authentication
  * @param secret
  *   Base64-encoded secret, encrypted with the bot's public RSA key, required for data decryption
  */
final case class EncryptedCredentials(data: String, hash: String, secret: String)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy