Skip to Content

The LabelDeleteResult type of the TypeScript SDK, which labels.delete and labels.deleteById take or answer.

type LabelDeleteResult = {
  archived?: number
  deleted: true
}

Fields

FieldTypeDescription
archivednumberOptional. Messages left with no other label that fell back to the Archive label
deletedtrue

Used by

MethodWhat it does
labels.deleteDelete a custom label
labels.deleteByIdDelete a custom label, by id

On this page