-
- All Known Implementing Classes:
MattermostClient
public interface ReactionApiReaction API.- Author:
- Takayuki Maruyama
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApiResponse<Boolean>deleteReaction(Reaction reaction)deletes reaction of a user in a post.ApiResponse<ReactionList>getReactions(String postId)returns a list of reactions to a post.ApiResponse<Reaction>saveReaction(Reaction reaction)saves an emoji reaction for a post.
-
-
-
Method Detail
-
saveReaction
ApiResponse<Reaction> saveReaction(Reaction reaction)
saves an emoji reaction for a post. Returns the saved reaction if successful, otherwise an error will be returned.
-
getReactions
ApiResponse<ReactionList> getReactions(String postId)
returns a list of reactions to a post.
-
deleteReaction
ApiResponse<Boolean> deleteReaction(Reaction reaction)
deletes reaction of a user in a post.
-
-