UNPKG

linkedin-private-api-node12

Version:

![Build](https://github.com/eilonmore/linkedin-private-api/workflows/Build/badge.svg?branch=master)

20 lines (19 loc) 776 B
import { ProfileId } from '../entities'; import { Conversation } from '../entities/conversation.entity'; import { CreatedBeforeScroller } from './created-before-scroller'; declare type FetchConversations = ({ createdBefore, }: { recipients?: ProfileId | ProfileId[]; createdBefore?: Date; }) => Promise<Conversation[]>; export declare class ConversationScroller extends CreatedBeforeScroller<Conversation> { private fetchConversations; fieldName: 'lastActivityAt'; recipients?: ProfileId | ProfileId[]; constructor({ fetchConversations, recipients, createdBefore, }: { fetchConversations: FetchConversations; recipients?: ProfileId | ProfileId[]; createdBefore?: Date; }); fetch(): Promise<Conversation[]>; } export {};