Inherits Function.
Checks the database encryption key for correctness. Works only when the current authorization state is authorizationStateWaitEncryptionKey.
Returns object_ptr<Ok>.
|
static const std::int32_t | ID = 1018769307 |
| Identifier uniquely determining a type of the object.
|
|
◆ checkDatabaseEncryptionKey() [1/2]
Default constructor for a function, which checks the database encryption key for correctness. Works only when the current authorization state is authorizationStateWaitEncryptionKey.
Returns object_ptr<Ok>.
◆ checkDatabaseEncryptionKey() [2/2]
Creates a function, which checks the database encryption key for correctness. Works only when the current authorization state is authorizationStateWaitEncryptionKey.
Returns object_ptr<Ok>.
- Parameters
-
[in] | encryption_key_ | Encryption key to check or set up. |
◆ get_id()
std::int32_t get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements TlObject.
◆ store()
void store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements TlObject.
The documentation for this class was generated from the following file: