mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-3044 Chats | Enhancement | Basics for chat replies (#1854)
This commit is contained in:
parent
81394a3589
commit
3994d456d5
18 changed files with 352 additions and 43 deletions
|
@ -1067,6 +1067,10 @@ class BlockDataRepository(
|
|||
return remote.getChatMessages(command)
|
||||
}
|
||||
|
||||
override suspend fun getChatMessagesByIds(command: Command.ChatCommand.GetMessagesByIds): List<Chat.Message> {
|
||||
return remote.getChatMessagesByIds(command)
|
||||
}
|
||||
|
||||
override suspend fun subscribeLastChatMessages(
|
||||
command: Command.ChatCommand.SubscribeLastMessages
|
||||
): Command.ChatCommand.SubscribeLastMessages.Response {
|
||||
|
|
|
@ -452,6 +452,7 @@ interface BlockRemote {
|
|||
suspend fun editChatMessage(command: Command.ChatCommand.EditMessage)
|
||||
suspend fun deleteChatMessage(command: Command.ChatCommand.DeleteMessage)
|
||||
suspend fun getChatMessages(command: Command.ChatCommand.GetMessages): List<Chat.Message>
|
||||
suspend fun getChatMessagesByIds(command: Command.ChatCommand.GetMessagesByIds): List<Chat.Message>
|
||||
suspend fun subscribeLastChatMessages(command: Command.ChatCommand.SubscribeLastMessages): Command.ChatCommand.SubscribeLastMessages.Response
|
||||
suspend fun toggleChatMessageReaction(command: Command.ChatCommand.ToggleMessageReaction)
|
||||
suspend fun unsubscribeChat(chat: Id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue