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