Function: shareStory()
ts
function shareStory(
client,
storyId,
target
): Promise<{
[key: string]: unknown;
item_id?: string;
thread_id?: string;
timestamp?: string;
}>;Shares a story (by its full id, pk_ownerPk) into a thread or to users. Only stories visible to the account can be shared.
Parameters
| Parameter | Type |
|---|---|
client | PrivateClient |
storyId | string |
target | SendTarget |
Returns
Promise<{ [key: string]: unknown; item_id?: string; thread_id?: string; timestamp?: string; }>