Class: TD::Types::EncryptedCredentials

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/encrypted_credentials.rb

Overview

Contains encrypted Telegram Passport data credentials.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#dataString

The encrypted credentials.

Returns:

  • (String)

    the current value of data



7
8
9
# File 'lib/tdlib/types/encrypted_credentials.rb', line 7

def data
  @data
end

#hashString

The decrypted data hash.

Returns:

  • (String)

    the current value of hash



7
8
9
# File 'lib/tdlib/types/encrypted_credentials.rb', line 7

def hash
  @hash
end

#secretString

Secret for data decryption, encrypted with the service's public key.

Returns:

  • (String)

    the current value of secret



7
8
9
# File 'lib/tdlib/types/encrypted_credentials.rb', line 7

def secret
  @secret
end