Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

History

import type { History } from "https://googleapis.deno.dev/v1/gmail:v1.ts";

A record of a change to the user's mailbox. Each history change may affect multiple messages in multiple ways.

interface History {
id?: bigint;
labelsAdded?: HistoryLabelAdded[];
labelsRemoved?: HistoryLabelRemoved[];
messages?: Message[];
messagesAdded?: HistoryMessageAdded[];
messagesDeleted?: HistoryMessageDeleted[];
}

§Properties

§
id?: bigint
[src]

The mailbox sequence ID.

§
labelsAdded?: HistoryLabelAdded[]
[src]

Labels added to messages in this history record.

§
labelsRemoved?: HistoryLabelRemoved[]
[src]

Labels removed from messages in this history record.

§
messages?: Message[]
[src]

List of messages changed in this history record. The fields for specific change types, such as messagesAdded may duplicate messages in this field. We recommend using the specific change-type fields instead of this.

§
messagesAdded?: HistoryMessageAdded[]
[src]

Messages added to the mailbox in this history record.

§
messagesDeleted?: HistoryMessageDeleted[]
[src]

Messages deleted (not Trashed) from the mailbox in this history record.