预留首页-探索,完善群组功能

This commit is contained in:
weber
2025-08-13 18:57:03 +08:00
parent 2d518cbd68
commit bc7a897cec
17 changed files with 1045 additions and 128 deletions

View File

@@ -56,6 +56,15 @@ data class SendChatAiRequestBody(
)
data class CreateGroupChatRequestBody(
@SerializedName("name")
val name: String,
@SerializedName("userIds")
val userIds: List<String>,
@SerializedName("promptIds")
val promptIds: List<String>,
)
data class LoginUserRequestBody(
@SerializedName("username")
val username: String? = null,
@@ -529,6 +538,9 @@ interface RaveNowAPI {
@POST("outside/rooms/message")
suspend fun sendChatAiMessage(@Body body: SendChatAiRequestBody): Response<DataContainer<Unit>>
@POST("outside/rooms")
suspend fun createGroupChat(@Body body: CreateGroupChatRequestBody): Response<DataContainer<Unit>>