libtd-ktx / kotlinx.telegram.coroutines / checkDatabaseEncryptionKey
checkDatabaseEncryptionKey
suspend fun
TelegramFlow
.checkDatabaseEncryptionKey(encryptionKey:
ByteArray
?):
Unit
Suspend function, which checks the database encryption key for correctness. Works only when the current authorization state is authorizationStateWaitEncryptionKey.
Parameters
encryptionKey
- Encryption key to check or set up.