LabelDeleteResult
The LabelDeleteResult type of the TypeScript SDK, which labels.delete and labels.deleteById take or answer.
type LabelDeleteResult = {
archived?: number
deleted: true
}Fields
| Field | Type | Description |
|---|---|---|
archived | number | Optional. Messages left with no other label that fell back to the Archive label |
deleted | true |
Used by
| Method | What it does |
|---|---|
labels.delete | Delete a custom label |
labels.deleteById | Delete a custom label, by id |