Ответы

This commit is contained in:
Халимов Рустам
2026-04-17 21:59:53 +03:00
parent 8c00d1376d
commit bef30c2c86
13 changed files with 227 additions and 33 deletions

View File

@@ -67,12 +67,14 @@ class ChatRepositoryImpl @Inject constructor(
chatId: String,
content: String?,
type: String,
attachments: List<chats.data.remote.api.AttachmentRequest>?
attachments: List<chats.data.remote.api.AttachmentRequest>?,
replyToId: String?
): Message {
val request = SendMessageRequest(
content = content,
type = type,
attachments = attachments
attachments = attachments,
replyToId = replyToId
)
val baseUrl = serverConfig.getBaseUrl().removeSuffix("/api/")
val userId = tokenManager.getUserId() ?: ""