Skip to Content

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

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

FieldTypeDescription
blobHashstringOptional. On a fresh store: the blob SHA-256 (what body caches key on)
duplicatebooleanTrue if message was already delivered previously
flagsstring[]Optional. On a fresh store: the flags the row was stored with
keywordsstring[]Optional. On a fresh store: the keywords the row was stored with
messageIdstringAssigned message ULID
modseqnumberOptional. On a fresh store: the membership row's MODSEQ in the target label
receivedAtnumberOptional. On a fresh store: the INTERNALDATE in epoch seconds
sizenumberOptional. On a fresh store: the stored size in bytes
status'delivered'Message was successfully delivered and stored
threadIdstring | nullAssigned conversation thread ULID, or null on duplicate
uidnumber | nullAssigned message UID, or null on duplicate
uidValiditynumber | nullLabel UID validity epoch, or null on duplicate

Used in

AppendResult.

On this page