You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -240,12 +256,21 @@ For more details on summary structure and usage, see [annotation summaries](#ann
240
256
241
257
### Subscribing to individual annotations <aid="subscribe-individual-annotations" />
242
258
243
-
For more fine-grained visibility, you can also subscribe directly to individual annotation events using the `annotations.subscribe()` method on a channel.
259
+
For more fine-grained visibility, you can also subscribe directly to individual annotation events using the `annotations.subscribe()` method on a channel. To subscribe to individual annotations, you must request the `ANNOTATION_SUBSCRIBE`[mode](/docs/channels/options#modes).
244
260
245
261
Annotations delivered to the `annotations.subscribe()` listener will have an `action` of `annotation.create` or `annotation.delete`.
246
262
247
263
<Code>
248
264
```javascript
265
+
// Create an Ably Realtime client specifying the clientId that will
266
+
// be associated with annotations published by this client
0 commit comments