1 | <?php |
||
25 | class ReactionModel extends AbstractModel |
||
26 | { |
||
27 | /** |
||
28 | * @var string |
||
29 | */ |
||
30 | public static $endpoint = '/reactions'; |
||
31 | |||
32 | /** |
||
33 | * @param array $requestOptions |
||
34 | * @return ResponseInterface |
||
35 | */ |
||
36 | public function saveReaction(array $requestOptions) |
||
40 | |||
41 | /** |
||
42 | * @param $userId |
||
43 | * @param $postId |
||
44 | * @param $emojiName |
||
45 | * @return ResponseInterface |
||
46 | */ |
||
47 | public function deleteReaction($userId, $postId, $emojiName) |
||
51 | } |
||
52 |