# Function: directRecipients()

```ts
function directRecipients(from, to): readonly string[];
```

Defined in: [packages/core/src/privacy/direct.ts:32](https://github.com/leifriksheim/minca/blob/main/core/src/privacy/direct.ts#L32)

Everyone a direct message is for, as the context names them: sorted, once
each, without whoever wrote it.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `from` | `string` |
| `to` | readonly `string`[] |

## Returns

readonly `string`[]
