EncryptedCredentials

telegramium.bots.EncryptedCredentials
final case class EncryptedCredentials(data: String, hash: String, secret: String)

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

Value parameters

data

Base64-encoded encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for EncryptedPassportElement decryption and authentication

hash

Base64-encoded data hash for data authentication

secret

Base64-encoded secret, encrypted with the bot's public RSA key, required for data decryption

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product