# MessageCopyResult

The MessageCopyResult type of the TypeScript SDK, which messages.copy take or answer.

```ts
type MessageCopyResult = {
  nextAfter: string | null
  remaining: number
  results: MessageCopyEntry[]
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `nextAfter` | `string` \| `null` | Pass as `after` to continue with the next page under the same operands. Null when every target has been answered, and when the destination refused a message — `remaining` is then what was never attempted. |
| `remaining` | `number` | Targets still to be answered after this page |
| `results` | [`MessageCopyEntry[]`](/docs/sdks/typescript/types/message-copy-entry) | This page's outcomes, one per source message, in ascending id order |

## Used by

| Method | What it does |
| --- | --- |
| [`messages.copy`](/docs/sdks/typescript/messages/copy) | Copy or move messages and conversations into another mailbox |
