Function: createHighlight()
ts
function createHighlight(
client,
title,
stories,
options?
): Promise<{
[key: string]: unknown;
id: string;
items?: object[];
media_count?: number | null;
title?: string;
user?: {
[key: string]: unknown;
biography?: string;
external_url?: string | null;
follower_count?: number | null;
following_count?: number | null;
full_name?: string;
is_private?: boolean;
is_verified?: boolean;
media_count?: number | null;
pk?: string;
profile_pic_url?: string | null;
username?: string;
};
}>;Creates a highlight from some of the account's own stories (still on, or archived).
Parameters
| Parameter | Type |
|---|---|
client | PrivateClient |
title | string |
stories | readonly string[] |
options? | CreateHighlightOptions |
Returns
Promise<{ [key: string]: unknown; id: string; items?: object[]; media_count?: number | null; title?: string; user?: { [key: string]: unknown; biography?: string; external_url?: string | null; follower_count?: number | null; following_count?: number | null; full_name?: string; is_private?: boolean; is_verified?: boolean; media_count?: number | null; pk?: string; profile_pic_url?: string | null; username?: string; }; }>