This commit is contained in:
Eric85710 2026-05-27 06:13:50 +08:00
parent 1c25547d7a
commit 19c74da15f

View file

@ -4,6 +4,7 @@ import com.example.login_v3.data.api.api_class.*
import okhttp3.MultipartBody
import retrofit2.Response
import retrofit2.http.Body
import retrofit2.http.DELETE
import retrofit2.http.GET
import retrofit2.http.Header
import retrofit2.http.Multipart
@ -127,4 +128,12 @@ interface TecnologiaApi {
@Path("msg_id") msgId: String,
@Path("emoji") emoji: String
): Response<Unit>
//delete emoji reaction
@DELETE("api/dm/{room_id}/messages/{msg_id}/reactions/{emoji}")
suspend fun deleteMessageReaction(
@Path("room_id") roomId: String,
@Path("msg_id") msgId: String,
@Path("emoji") emoji: String
): Response<Unit>
}