Skip to content

Commit c05f4a8

Browse files
maratalclaude
andcommitted
fix(nextjs-push-guide): update channel CLI example and add push CLI link to next steps
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent d4185a9 commit c05f4a8

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/pages/docs/push/getting-started/nextjs.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -469,9 +469,9 @@ To test channel push, subscribe to the channel in the UI then send a push notifi
469469
<Code>
470470
```shell
471471
ably push publish --channel exampleChannel1 \
472-
--title "Ably CLI" \
473-
--body "Hello from CLI!" \
474-
--data '{"foo":"bar"}'
472+
--title "Hello" \
473+
--body "World!" \
474+
--message '{"name":"greeting","data":"Hello World!"}'
475475
```
476476
</Code>
477477

@@ -521,5 +521,6 @@ Safari on macOS 13+ supports Web Push, but with some limitations. Notification a
521521
* Learn about [channel rules](/docs/channels#rules) for channel-based push notifications.
522522
* Read more about the [Push Admin API](/docs/api/realtime-sdk/push-admin).
523523
* Check out the [Web Push Notifications](/docs/push/configure/web) documentation for advanced use cases.
524+
* Explore [Ably CLI push commands](/docs/cli/push) for the full list of push CLI options.
524525

525526
You can also explore the [Ably JavaScript SDK](https://github.com/ably/ably-js) on GitHub, or visit the [API references](/docs/api/realtime-sdk?lang=javascript) for additional functionality.

0 commit comments

Comments
 (0)