SendResult
The SendResult type of the TypeScript SDK, which messages.send and 2 more methods take or answer.
type SendResult = {
deliveryId: string
recipients: SendRecipientResult[]
sentCopy?: ('saved' | 'duplicate' | 'over_quota')
sentThreadId?: string | null
}Fields
| Field | Type | Description |
|---|---|---|
deliveryId | string | Master submission delivery ID |
recipients | SendRecipientResult[] | Outcome status per recipient |
sentCopy | ('saved' | 'duplicate' | 'over_quota') | Optional. Status of saving copy to Sent folder ('saved', 'duplicate', 'over_quota') |
sentThreadId | string | null | Optional. Conversation thread ID of the saved sent message |
Used by
| Method | What it does |
|---|---|
messages.send | Send an email message |
messages.sendDraft | Send a stored draft |
threads.reply | Reply to a conversation thread |