Skip to content

Commit

Permalink
Merge pull request #24 from novuhq/unicodeveloper-patch-6
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
unicodeveloper authored May 10, 2023
2 parents b70c20c + 5f52e83 commit 4a583ca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ $response => $novu->updateSubscriberCredentials($subscriberId, [
'credentials' => '<insert-credentials>'
])->toArray();

// Update subscriber online status
$isOnlineStatus = true; // or false
$response => $novu->updateSubscriberOnlineStatus($subscriberId, $isOnlineStatus)->toArray();

// Get subscriber preferences
$preferences = $novu->getSubscriberPreferences($subscriberId)->toArray();

Expand Down

0 comments on commit 4a583ca

Please sign in to comment.