Подгрузка старых сообщений

This commit is contained in:
Халимов Рустам
2026-04-15 01:55:23 +03:00
parent 5b0133d55e
commit 5a71e5bbfa
11 changed files with 22 additions and 20 deletions
@@ -27,6 +27,7 @@ interface ChatApi {
suspend fun getMessages(
@Path("chatId") chatId: String,
@Query("cursor") cursor: String? = null,
@Query("pivot") pivot: Long? = null,
@Query("limit") limit: Int? = 50
): List<MessageDto>