Skip to Content

The ExpungeResult type of the TypeScript SDK, which labels.expunge take or answer.

type ExpungeResult = {
  expunged: ExpungedUID[]
  messagesExpunged: number
}

Fields

FieldTypeDescription
expungedExpungedUID[]List of expunged message UIDs and IDs
messagesExpungednumberTotal count of messages removed from this label

Used by

MethodWhat it does
labels.expungeExpunge deleted messages from a label

On this page