# vx_req_account_get_conversations

> Reference the Vivox Core SDK API.

Returns a list of conversations a user is participating in, in reverse order.  [More...](#detailed-description)

`#include <VxcRequests.h>`

## Public Attributes

|                                                        | Name                                                                                                                                                                                                                                                  |
| ------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [vx\_req\_base\_t](./_vxc_8h.md#typedef-vx_req_base_t) | **[base](./structvx__req__account__get__conversations.md#variable-base)** The common properties for all requests.                                                                                                                                     |
| [VX\_HANDLE](./_vxc_8h.md#typedef-vx_handle)           | **[account\_handle](./structvx__req__account__get__conversations.md#variable-account_handle)** The handle returned from a successful login request.                                                                                                   |
| int                                                    | **[cursor](./structvx__req__account__get__conversations.md#variable-cursor)** Page number you want to retrieve, 0-indexed.                                                                                                                            |
| long long                                              | **[request\_time](./structvx__req__account__get__conversations.md#variable-request_time)** The time of your first request, this ensures that you ignore newer messages coming into conversations and therefor preserve the ordering between requests. |
| int                                                    | **[page\_size](./structvx__req__account__get__conversations.md#variable-page_size)** The number of conversations that will be returned per page, maximum value of 50 will be respected.                                                               |

## Detailed Description

```cpp
struct vx_req_account_get_conversations;
```

Returns a list of conversations a user is participating in, in reverse order.

**See**: vx\_resp\_account\_req\_get\_conversations

Only returns conversations from a user's DMs and also from channels where a user sent a message.

## Public Attributes Documentation

### variable base

```cpp
vx_req_base_t base;
```

The common properties for all requests.

### variable account\_handle

```cpp
VX_HANDLE account_handle;
```

The handle returned from a successful login request.

### variable cursor

```cpp
int cursor;
```

Page number you want to retrieve, 0-indexed.

The default setting is -1 which returns the first page

### variable request\_time

```cpp
long long request_time;
```

The time of your first request, this ensures that you ignore newer messages coming into conversations and therefor preserve the ordering between requests.

The default setting is -1 which assumes you only want the first page of results.

### variable page\_size

```cpp
int page_size;
```

The number of conversations that will be returned per page, maximum value of 50 will be respected.

The default setting is -1 which returns a maximum of 50 results
