ExpungedMessageMeta
The ExpungedMessageMeta type of the TypeScript SDK, which messages.list take or answer.
type ExpungedMessageMeta = MessageMeta & {
expungedAt: number
expungedLabels: string[]
purgeAfter: number
}Fields
| Field | Type | Description |
|---|---|---|
expungedAt | number | Timestamp when the message was expunged, in epoch seconds |
expungedLabels | string[] | The labels this row literally held at the moment it was expunged. For a message deleted the ordinary way that is ["Trash"], because the delete moved it there first. To show or act on where it will actually go, read restoresTo. |
purgeAfter | number | Timestamp after which message will be permanently purged in epoch seconds |
Used by
| Method | What it does |
|---|---|
messages.list | List mailbox messages |