# ReplyContext

The ReplyContext type of the TypeScript SDK, part of ThreadView.

```ts
type ReplyContext = {
  from: string | null
  inReplyTo: string | null
  inboundSourceId: string | null
  references: string[]
  subject: string | null
  to: string | null
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `from` | `string` \| `null` | Suggested sending address: the one the newest message reached this mailbox at, or was sent from when it is our own. Not re-checked against routing; the reply route uses it only while it still routes to this mailbox |
| `inReplyTo` | `string` \| `null` | Message-ID to set as In-Reply-To header |
| `inboundSourceId` | `string` \| `null` | Message ULID being replied to (null if newest message is outbound) |
| `references` | `string[]` | List of Message-IDs for References header |
| `subject` | `string` \| `null` | Suggested normalized reply subject line |
| `to` | `string` \| `null` | Suggested recipient email address string |

## Used in

[`ThreadView`](/docs/sdks/typescript/types/thread-view).
