Class: TD::Types::AuthorizationState::WaitEncryptionKey

Inherits:
TD::Types::AuthorizationState show all
Defined in:
lib/tdlib/types/authorization_state/wait_encryption_key.rb

Overview

TDLib needs an encryption key to decrypt the local database.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#is_encryptedBoolean

True, if the database is currently encrypted.

Returns:

  • (Boolean)

    the current value of is_encrypted



5
6
7
# File 'lib/tdlib/types/authorization_state/wait_encryption_key.rb', line 5

def is_encrypted
  @is_encrypted
end