Skip to content

Commit

Permalink
Unsubscribe handling proposal (WIP).
Browse files Browse the repository at this point in the history
  • Loading branch information
maratal committed Dec 9, 2024
1 parent 4417090 commit fc78ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/chat/rooms/messages.textile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ h3(#unsubscribe). Unsubscribe from messages
blang[javascript,swift].
Unsubscribe from messages to remove previously registered listeners.

Use the <span lang="javascript">"@unsubscribe()@":https://sdk.ably.com/builds/ably/ably-chat-js/main/typedoc/interfaces/chat-js.MessageSubscriptionResponse.html#unsubscribe</span><span lang="swift">"@unsubscribe()@":https://sdk.ably.com/builds/ably/ably-chat-swift/main/typedoc/interfaces/chat.MessageSubscription.html#unsubscribe</span> function returned in the @subscribe()@ response to remove a listener:
Use the <span lang="javascript">"@unsubscribe()@":https://sdk.ably.com/builds/ably/ably-chat-js/main/typedoc/interfaces/chat-js.MessageSubscriptionResponse.html#unsubscribe function</span><span lang="swift">"@unsubscribe()@":https://sdk.ably.com/builds/ably/ably-chat-swift/main/typedoc/interfaces/chat.MessageSubscription.html#unsubscribe method of the object</span> returned in the @subscribe()@ response to remove a listener:

```[javascript]
// Initial subscription
Expand Down

0 comments on commit fc78ae8

Please sign in to comment.