Interface TimelineOptions

interface TimelineOptions {
    cursor?: string;
    limit?: number | {
        id?: string;
        timestamp: number;
    };
}

Properties

Properties

cursor?: string

A provider-defined cursor specifying the starting point of the timeline items that should be returned.

limit?: number | {
    id?: string;
    timestamp: number;
}

An optional maximum number timeline items or the all timeline items newer (inclusive) than the timestamp or id that should be returned. If undefined all timeline items should be returned.

Type declaration

  • Optional id?: string
  • timestamp: number