# AppendResultDelivered

The AppendResultDelivered type of the TypeScript SDK, part of AppendResult.

```ts
type AppendResultDelivered = {
  blobHash?: string
  duplicate: boolean
  flags?: string[]
  keywords?: string[]
  messageId: string
  modseq?: number
  receivedAt?: number
  size?: number
  status: 'delivered'
  threadId: string | null
  uid: number | null
  uidValidity: number | null
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `blobHash` | `string` | Optional. On a fresh store: the blob SHA-256 (what body caches key on) |
| `duplicate` | `boolean` | True if message was already delivered previously |
| `flags` | `string[]` | Optional. On a fresh store: the flags the row was stored with |
| `keywords` | `string[]` | Optional. On a fresh store: the keywords the row was stored with |
| `messageId` | `string` | Assigned message ULID |
| `modseq` | `number` | Optional. On a fresh store: the membership row's MODSEQ in the target label |
| `receivedAt` | `number` | Optional. On a fresh store: the INTERNALDATE in epoch seconds |
| `size` | `number` | Optional. On a fresh store: the stored size in bytes |
| `status` | `'delivered'` | Message was successfully delivered and stored |
| `threadId` | `string` \| `null` | Assigned conversation thread ULID, or null on duplicate |
| `uid` | `number` \| `null` | Assigned message UID, or null on duplicate |
| `uidValidity` | `number` \| `null` | Label UID validity epoch, or null on duplicate |

## Used in

[`AppendResult`](/docs/sdks/typescript/types/append-result).
