From 39429129e42c836d3320397e480dbab4e3e9771d Mon Sep 17 00:00:00 2001 From: Mike Cotton Date: Fri, 1 Jan 2021 09:51:08 -0600 Subject: [PATCH] add channel ID options many parameters have been deprecated in favor of using channel ids instead. Channel ID refers to a notification category in OneSignal (https://documentation.onesignal.com/docs/android-notification-categories) --- src/API/Notification.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/API/Notification.php b/src/API/Notification.php index 2d4eced..cdd5973 100644 --- a/src/API/Notification.php +++ b/src/API/Notification.php @@ -226,6 +226,8 @@ private function getNotificationDataRules() 'isWP_WNS' => 'bool', 'isAdm' => 'bool', 'isChrome' => 'bool', + 'android_channel_id' => 'string', + 'huawei_channel_id' => 'string', ], ]; }