Skip to Content

The RetentionPreview type of the TypeScript SDK, part of AccountRetentionRow and 1 more types.

type RetentionPreview = {
  bytes: number
  days: number
  messages: number
}

Fields

FieldTypeDescription
bytesnumberTheir stored size in bytes (quota keeps counting them until the trash purge)
daysnumberThe window previewed, in days
messagesnumberLive messages older than the window — what the duty would expunge

Used in

AccountRetentionRow, Retention.

On this page