Skip to Content

The DeliverResultDelivered type of the TypeScript SDK, part of DeliverResult.

type DeliverResultDelivered = {
  duplicate: boolean
  messageId: string
  sentCopy?: ('saved' | 'duplicate' | 'over_quota')
  sentThreadId?: string | null
  status: 'delivered'
  threadId: string | null
  uid: number | null
  uidValidity: number | null
}

Fields

FieldTypeDescription
duplicatebooleanTrue if message was an idempotent duplicate
messageIdstringAssigned message ULID
sentCopy('saved' | 'duplicate' | 'over_quota')Optional. Status of saved sent copy
sentThreadIdstring | nullOptional. Thread ID of saved sent copy
status'delivered'Message was immediately delivered to mailbox
threadIdstring | nullConversation thread ULID, or null
uidnumber | nullIMAP UID in inbox, or null
uidValiditynumber | nullIMAP UIDVALIDITY epoch, or null

Used in

DeliverResult.

On this page