diff --git a/cache/content/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/media/common/MessagesFilesCache.kt b/cache/content/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/media/common/MessagesFilesCache.kt index 5308cfd..2459366 100644 --- a/cache/content/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/media/common/MessagesFilesCache.kt +++ b/cache/content/common/src/commonMain/kotlin/dev/inmo/tgbotapi/libraries/cache/media/common/MessagesFilesCache.kt @@ -30,7 +30,7 @@ class InMemoryMessagesFilesCache : MessagesFilesCache { ) { map[chatId to messageIdentifier] = StorageFile( filename, - byteReadChannelAllocator.invoke().toByteArray() + byteReadChannelAllocator.invoke() ) }