# Backup

## Enable Unread Count

To enable the unread message count feature on the device, the user must start unread count syncing. This ensures that the user, as well as all channels and subchannels, have an up-to-date message unread count. To disable this feature, users simply stop the unread count syncing, which will stop updating the message unread count from their device.

#### Start unread count syncing

To start unread count syncing, you can use the following code:

{% tabs %}
{% tab title="iOS" %}
{% embed url="<https://gist.github.com/amythee/9bfffd078c76b7b7d4a9b20928c21a62>" %}
{% endtab %}

{% tab title="Android" %}
{% embed url="<https://gist.github.com/amythee/d80f8c0d3729b501cf6fda7607398f4b>" %}
{% endtab %}

{% tab title="TypeScript" %}
{% embed url="<https://gist.github.com/amythee/2dc6f654aed3ba94562fa4b71c164eb0>" %}
{% endtab %}
{% endtabs %}

#### Stop unread count syncing

To stop unread count syncing, you can use the following code:

{% tabs %}
{% tab title="iOS" %}
{% embed url="<https://gist.github.com/amythee/35dfcac30dcd797bdda5058ca6665d74>" %}
{% endtab %}

{% tab title="Android" %}
{% embed url="<https://gist.github.com/amythee/40e62a47654b72475ac3684ef3e0a4ac>" %}
{% endtab %}

{% tab title="TypeScript" %}
{% embed url="<https://gist.github.com/amythee/e10178332521be7cf85259ef39a93448>" %}
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.social.plus/social-plus-sdk/chat/channels/unread-count/backup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
