diff --git a/src/Api/Send.php b/src/Api/Send.php index 3b51e7c..4618dd1 100644 --- a/src/Api/Send.php +++ b/src/Api/Send.php @@ -93,7 +93,7 @@ public function action(string $recipient, string $action, string $notificationTy $this->isValidAction($action); $this->isValidNotificationType($notificationType); - $request = new SendRequest($this->pageToken, $action, $recipient, $notificationType, SendRequest::TYPE_ACTION); + $request = new SendRequest($this->pageToken, $action, $recipient, $notificationType, null, SendRequest::TYPE_ACTION); $response = $this->client->post('me/messages', $request->build()); return new SendResponse($response);