public static class TdApi.SetDatabaseEncryptionKey extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
byte[] |
newEncryptionKey
New encryption key.
|
| Constructor and Description |
|---|
SetDatabaseEncryptionKey()
Default constructor for a function, which changes the database encryption key.
|
SetDatabaseEncryptionKey(byte[] newEncryptionKey)
Creates a function, which changes the database encryption key.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic byte[] newEncryptionKey
public static final int CONSTRUCTOR
public SetDatabaseEncryptionKey()
Returns Ok
public SetDatabaseEncryptionKey(byte[] newEncryptionKey)
Returns Ok
newEncryptionKey - New encryption key.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object