dm-53
This commit is contained in:
parent
1c25547d7a
commit
19c74da15f
1 changed files with 9 additions and 0 deletions
|
|
@ -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>
|
||||
}
|
||||
Loading…
Reference in a new issue