Офлайн режим, начало
This commit is contained in:
@@ -7,6 +7,7 @@ import kotlinx.coroutines.flow.Flow
|
||||
|
||||
interface ChatRepository {
|
||||
suspend fun getChats(): List<Chat>
|
||||
fun getChatsFlow(): Flow<List<Chat>>
|
||||
|
||||
// Flow для UI (простой список)
|
||||
fun getMessagesFlow(chatId: String): Flow<List<Message>>
|
||||
|
||||
Reference in New Issue
Block a user