Skip to content

Interface: StoryApi ​

Stories.

Methods ​

markSeen() ​

ts
markSeen(storyIds): Promise<void>;

Marks stories as seen by their full ids (pk_userid).

Parameters ​

ParameterType
storyIdsreadonly string[]

Returns ​

Promise<void>


tray() ​

ts
tray(): Promise<object[]>;

The stories tray: the accounts with active stories, in the order the app shows them.

Returns ​

Promise<object[]>


user() ​

ts
user(pk): Promise<object[]>;

A user's active stories.

Parameters ​

ParameterType
pkstring

Returns ​

Promise<object[]>

MIT License. Not affiliated with, endorsed or sponsored by Meta or Instagram.