From a3a861af87f97e7ef4f64c8b8127c6da552d702b Mon Sep 17 00:00:00 2001 From: Romain Monteil Date: Mon, 28 Aug 2017 16:59:32 +0200 Subject: [PATCH] [fix #67] Add parameter tag to null when sending an action --- src/Api/Send.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);