> For the complete documentation index, see [llms.txt](https://docs.littlebaytech.com/templates/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.littlebaytech.com/templates/messaging-template/page-guides/pages/3.-logged-in/messages/built-in-functionality/2.-select-a-conversation.md).

# 2. View/Select a Conversation

Conversations are shown on desktop and mobile by changing the custom states on the `Group Conversation (Desktop)` element. This element's custom states can be viewed by clicking that element in the property editor, and clicking the **"i"** element inspector icon:

![](/files/-LXO2GwR05Ql4N77qZlf)

The most important custom state is the "SelectedConversation" custom state (type: Conversation, list: no) which displays the selected Conversation that the Current User wants to view. (Or, when the page is first loaded at a page width greater than 887 pixels, the "SelectedConversation" custom state (type: Conversation, list: no) is automatically set to the Current User's most recent Conversation).&#x20;

The Current User can change Conversations by clicking either the `Group Select Conversation (Desktop)` or `Group Select Conversation (Mobile)` elements:

**Desktop**

![](/files/-LXX1QPI4k6YlHkONm3Q)

**Mobile**

![](/files/-LXX1SV9rz9QkFKtiRSO)

When either of those elements are clicked, the "**View Conversation (Desktop)**" or "**View Conversation (Mobile)**" custom events are run, which mainly change the value of the `Group Conversation (Desktop)`element's custom states.&#x20;

{% hint style="info" %}
More information on how these custom states are changed and why they are needed can be found in the **B. View Conversation** workflow folder.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.littlebaytech.com/templates/messaging-template/page-guides/pages/3.-logged-in/messages/built-in-functionality/2.-select-a-conversation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
