ExpungeResult
The ExpungeResult type of the TypeScript SDK, which labels.expunge take or answer.
type ExpungeResult = {
expunged: ExpungedUID[]
messagesExpunged: number
}Fields
| Field | Type | Description |
|---|---|---|
expunged | ExpungedUID[] | List of expunged message UIDs and IDs |
messagesExpunged | number | Total count of messages removed from this label |
Used by
| Method | What it does |
|---|---|
labels.expunge | Expunge deleted messages from a label |