Package io.getstream.chat.java.services
Interface ReactionService
public interface ReactionService
-
Method Summary
Modifier and TypeMethodDescriptionretrofit2.Call<Reaction.ReactionDeleteResponse>retrofit2.Call<Reaction.ReactionListResponse>retrofit2.Call<Reaction.ReactionSendResponse>send(String messageId, Reaction.ReactionSendRequestData reactionSendRequestData)
-
Method Details
-
send
@POST("messages/{id}/reaction") retrofit2.Call<Reaction.ReactionSendResponse> send(@NotNull @Path("id") String messageId, @NotNull @Body Reaction.ReactionSendRequestData reactionSendRequestData) -
delete
@DELETE("messages/{id}/reaction/{type}") retrofit2.Call<Reaction.ReactionDeleteResponse> delete(@NotNull @Path("id") String messageId, @NotNull @Path("type") String type, @NotNull @Query("user_id") String userId) -
list
@GET("messages/{id}/reactions") retrofit2.Call<Reaction.ReactionListResponse> list(@NotNull @Path("id") String messageId)
-