Function: shareMedia()
ts
function shareMedia(
client,
mediaId,
target,
options?
): Promise<{
[key: string]: unknown;
item_id?: string;
thread_id?: string;
timestamp?: string;
}>;Shares a post (by its full media id) into a thread or to users.
Parameters
| Parameter | Type |
|---|---|
client | PrivateClient |
mediaId | string |
target | SendTarget |
options? | ShareMediaOptions |
Returns
Promise<{ [key: string]: unknown; item_id?: string; thread_id?: string; timestamp?: string; }>