public static class TdApi.SetDatabaseEncryptionKey extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
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() |
toString
public byte[] newEncryptionKey
public static final int CONSTRUCTOR
public SetDatabaseEncryptionKey()
Returns Ok
public SetDatabaseEncryptionKey(byte[] newEncryptionKey)
Returns Ok
newEncryptionKey
- New encryption key.public int getConstructor()
getConstructor
in class TdApi.Function