1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-12-22 00:27:14 +00:00

add definedExternally in CloudStorage

This commit is contained in:
InsanusMokrassar 2024-12-08 09:16:56 +06:00
parent d7f14020d8
commit e3cb1e4faf

View File

@ -18,11 +18,11 @@ external interface CloudStorage {
): CloudStorage
fun removeItem(
key: CloudStorageKey,
callback: (e: Any?, success: Boolean?) -> Unit
callback: (e: Any?, success: Boolean?) -> Unit = definedExternally
): CloudStorage
fun removeItems(
key: Array<CloudStorageKey>,
callback: (e: Any?, success: Boolean?) -> Unit
callback: (e: Any?, success: Boolean?) -> Unit = definedExternally
): CloudStorage
fun getKeys(
callback: (e: Any?, success: Array<CloudStorageKey>?) -> Unit