# Interface: DirectMessage

Defined in: [packages/core/src/node/types.ts:918](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L918)

A direct message, opened (`node.direct`)

## Properties

| Property | Modifier | Type | Description | Defined in |
| ------ | ------ | ------ | ------ | ------ |
| <a id="property-createdat"></a> `createdAt` | `readonly` | `string` | - | [packages/core/src/node/types.ts:927](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L927) |
| <a id="property-from"></a> `from` | `readonly` | `string` | Who wrote it | [packages/core/src/node/types.ts:922](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L922) |
| <a id="property-key"></a> `key` | `readonly` | `string` | The record's key: delete it to take the message back | [packages/core/src/node/types.ts:920](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L920) |
| <a id="property-recordsonly"></a> `recordsOnly?` | `readonly` | `true` | Written under a note that grants records only here, as `NodeRecord.recordsOnly` | [packages/core/src/node/types.ts:929](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L929) |
| <a id="property-text"></a> `text` | `readonly` | `string` \| `null` | Null when this node can't open it | [packages/core/src/node/types.ts:926](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L926) |
| <a id="property-to"></a> `to` | `readonly` | readonly `string`[] | Who it is for, sorted, not counting `from` | [packages/core/src/node/types.ts:924](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L924) |
