dm-58
This commit is contained in:
parent
3f16412bdb
commit
557e9d3537
1 changed files with 7 additions and 0 deletions
|
|
@ -136,4 +136,11 @@ interface TecnologiaApi {
|
||||||
@Path("msg_id") msgId: String,
|
@Path("msg_id") msgId: String,
|
||||||
@Path("emoji") emoji: String
|
@Path("emoji") emoji: String
|
||||||
): Response<Unit>
|
): Response<Unit>
|
||||||
|
|
||||||
|
//delete message
|
||||||
|
@DELETE("api/dm/{room_id}/messages/{msg_id}")
|
||||||
|
suspend fun deleteMessage(
|
||||||
|
@Path("room_id") roomId: String,
|
||||||
|
@Path("msg_id") msgId: String
|
||||||
|
): Response<Unit>
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue