Interface SetDatabaseEncryptionKey

Changes the database encryption key. Usually the encryption key is never changed and is stored in some OS keychain. Request type for Tdjson#setDatabaseEncryptionKey.

interface SetDatabaseEncryptionKey {
    @type: "setDatabaseEncryptionKey";
    new_encryption_key: string;
}

Properties

@type: "setDatabaseEncryptionKey"
new_encryption_key: string

New encryption key.