# fetchConversationMessagesPaginated

Fetches the messages of a specific conversation in a paginated manner.

### Usage

```ts
const conversationHash = '0x...';
const pageNumber = 1n;
const pageSize = 10n;
const messages = await chat.fetchConversationMessagesPaginated(
  conversationHash,
  pageNumber,
  pageSize,
);
```

### Returns

`Promise<ReceivedMessage[]>`

A promise that resolves to an array of messages from the specified conversation, corresponding to the provided page number and size.

### Parameters

#### conversationHash

* **Type** `ConversationHash`

The hash of the target conversation from which messages are being fetched.

#### pageNumber

* **Type** `bigint`

The number of the page to be fetched.

#### pageSize

* **Type** `bigint`

The size of the page (i.e., the number of messages per page).
